public final class Arguments
extends java.lang.Object
| Constructor and Description |
|---|
Arguments(org.apache.commons.cli.CommandLine cmd)
Constructs a new
Arguments instance. |
| Modifier and Type | Method and Description |
|---|---|
java.nio.file.Path |
getConfigFile()
Returns the configuration file path.
|
java.lang.String[] |
getModels()
Returns the model urls that specified in command line.
|
java.lang.String |
getModelStore()
Returns the model store location.
|
static org.apache.commons.cli.Options |
getOptions()
Builds the command line options.
|
boolean |
hasHelp()
Returns if the command line has help option.
|
public Arguments(org.apache.commons.cli.CommandLine cmd)
Arguments instance.cmd - a parsed CommandLinepublic static org.apache.commons.cli.Options getOptions()
public java.nio.file.Path getConfigFile()
public java.lang.String getModelStore()
public java.lang.String[] getModels()
public boolean hasHelp()
true if the command line has help option