Package it.unipd.dei.eis.presentation
Class Bootstrapper
- java.lang.Object
-
- it.unipd.dei.eis.presentation.Bootstrapper
-
public class Bootstrapper extends Object
Bootstrapper is the class that starts the application. It parses the command line arguments and calls the correct use case.
-
-
Field Summary
Fields Modifier and Type Field Description private String[]argsThe args field contains the command line arguments.private static StringHELP_MESSAGEThe HELP_MESSAGE field contains the help message.static org.apache.commons.cli.OptionsOPTIONSThe OPTIONS field contains the command line options.static org.apache.commons.cli.DefaultParserPARSERThe PARSER field contains the command line parser.
-
Constructor Summary
Constructors Constructor Description Bootstrapper(String[] args)The Bootstrapper constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidlaunch()The launch method parses the command line arguments and calls the correct use case.
-
-
-
Field Detail
-
OPTIONS
public static final org.apache.commons.cli.Options OPTIONS
The OPTIONS field contains the command line options.
-
PARSER
public static final org.apache.commons.cli.DefaultParser PARSER
The PARSER field contains the command line parser.
-
HELP_MESSAGE
private static final String HELP_MESSAGE
The HELP_MESSAGE field contains the help message.- See Also:
- Constant Field Values
-
args
private final String[] args
The args field contains the command line arguments.
-
-
Constructor Detail
-
Bootstrapper
public Bootstrapper(String[] args)
The Bootstrapper constructor.- Parameters:
args- the command line arguments
-
-