Package org.appng.cli
Class CliBootstrap
- java.lang.Object
-
- org.appng.cli.CliBootstrap
-
-
Field Summary
Fields Modifier and Type Field Description static String
APPNG_HOME
static String
CURRENT_COMMAND
-
Constructor Summary
Constructors Constructor Description CliBootstrap()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
main(String[] args)
Runs the command line interface and callsSystem#exit(int)
with the status provided byrun(String[])
.static int
run(String[] args)
Runs the command line interface
-
-
-
Field Detail
-
CURRENT_COMMAND
public static String CURRENT_COMMAND
-
APPNG_HOME
public static final String APPNG_HOME
- See Also:
- Constant Field Values
-
-
Method Detail
-
main
public static void main(String[] args) throws IOException
Runs the command line interface and callsSystem#exit(int)
with the status provided byrun(String[])
.- Parameters:
args
- the command line arguments- Throws:
IOException
- if "/conf/appNG.properties" could not be found- See Also:
run(String[])
-
run
public static int run(String[] args) throws IOException
Runs the command line interface- Parameters:
args
- the command line arguments- Returns:
- the execution status:
- Throws:
IOException
- if "/conf/appNG.properties" could not be found
-
-