Represents the parsed command line options.
Modifiers | Name | Description |
---|---|---|
java.lang.String |
AGENT_ARGUMENT |
|
java.lang.String |
DEBUG_FORK |
|
java.lang.String |
HELP_ARGUMENT |
|
java.lang.String |
NOANSI_ARGUMENT |
|
java.lang.String |
NON_INTERACTIVE_ARGUMENT |
|
java.lang.String |
OFFLINE_ARGUMENT |
|
java.lang.String |
REFRESH_DEPENDENCIES_ARGUMENT |
|
java.lang.String |
STACKTRACE_ARGUMENT |
|
java.lang.String |
VERBOSE_ARGUMENT |
|
java.lang.String |
VERSION_ARGUMENT |
Type | Name and description |
---|---|
java.lang.String |
getCommandName() @return The command name specified |
java.lang.String |
getEnvironment() @return The environment specified |
java.util.List<java.lang.String> |
getRemainingArgs() @return The remaining arguments after the command name |
java.lang.String[] |
getRemainingArgsArray() @return The remaining arguments as an array |
java.lang.String |
getRemainingArgsLineSeparated() @return The remaining args separated by the line separator char |
java.lang.String |
getRemainingArgsString() @return The remaining args as one big string |
java.util.Properties |
getSystemProperties() @return The system properties specified |
java.util.Map<java.lang.String, java.lang.Object> |
getUndeclaredOptions() |
boolean |
hasOption(java.lang.String name) @param name The name of the option |
boolean |
isEnvironmentSet() @return Whether the environment is user specified |
java.lang.String |
lookupEnvironmentForCommand() |
java.lang.Object |
optionValue(java.lang.String name) The value of an option |
void |
setCommand(java.lang.String scriptName) |
name
- The name of the option
The value of an option
name
- The option