public class PathSettingsCLI extends Object
| Constructor and Description |
|---|
PathSettingsCLI(PathSettingsCLIInputBean pathSettingsCLIInputBean)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
call() |
static String[] |
extractAndUpdatePathOptions(String[] args)
If the arguments contains changes to the paths these arguments will be
extracted and the paths updated, before the remaining non-path options
are returned for further processing.
|
static void |
main(String[] args)
Starts the launcher by calling the launch method.
|
void |
setPathSettings()
Sets the path settings according to the pathSettingsCLIInputBean.
|
String |
toString() |
public PathSettingsCLI(PathSettingsCLIInputBean pathSettingsCLIInputBean)
pathSettingsCLIInputBean - an input bean containing the user
parameterspublic Object call()
public void setPathSettings()
public static void main(String[] args)
args - the command line argumentspublic static String[] extractAndUpdatePathOptions(String[] args) throws org.apache.commons.cli.ParseException
args - the command line argumentsorg.apache.commons.cli.ParseException - if a ParseException occursCopyright © 2021. All rights reserved.