public class App
extends java.lang.Object
| Modifier | Constructor and Description |
|---|---|
|
App()
Builds the App object.
|
protected |
App(Settings settings)
Builds the App object; this method is used for testing.
|
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
ensureCanonicalPath(java.lang.String path)
Takes a path and resolves it to be a canonical & absolute path.
|
static void |
main(java.lang.String[] args)
The main method for the application.
|
protected void |
populateSettings(CliParser cli)
Updates the global Settings.
|
int |
run(java.lang.String[] args)
Main CLI entry-point into the application.
|
public App()
protected App(Settings settings)
settings - the configured settingspublic static void main(java.lang.String[] args)
args - the command line argumentspublic int run(java.lang.String[] args)
args - the command line argumentsprotected void populateSettings(CliParser cli) throws InvalidSettingException
cli - a reference to the CLI Parser that contains the command line
arguments used to set the corresponding settings in the core engine.InvalidSettingException - thrown when a user defined properties
file is unable to be loaded.protected java.lang.String ensureCanonicalPath(java.lang.String path)
path - the path to canonicalizeCopyright© 2012-21 Jeremy Long. All Rights Reserved.