Package org.apache.maven.cling.invoker
Class CommonsCliOptions.CLIManager
java.lang.Object
org.apache.maven.cling.invoker.CommonsCliOptions.CLIManager
- Direct Known Subclasses:
CommonsCliEncryptOptions.CLIManager
,CommonsCliMavenOptions.CLIManager
- Enclosing class:
- CommonsCliOptions
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Deprecated.static final String
Deprecated.static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
protected org.apache.commons.cli.Options
static final String
static final String
static final String
static final String
static final String
protected final LinkedHashSet<org.apache.commons.cli.Option>
static final String
static final String
static final String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
addDeprecatedOption
(org.apache.commons.cli.Option option) protected String
commandLineSyntax
(String command) void
displayHelp
(String command, Consumer<String> pw) org.apache.commons.cli.Options
Set<org.apache.commons.cli.Option>
org.apache.commons.cli.CommandLine
protected void
prepareOptions
(org.apache.commons.cli.Options options)
-
Field Details
-
USER_PROPERTY
- See Also:
-
SHOW_VERSION_AND_EXIT
- See Also:
-
SHOW_VERSION
- See Also:
-
QUIET
- See Also:
-
VERBOSE
- See Also:
-
SHOW_ERRORS
- See Also:
-
FAIL_ON_SEVERITY
- See Also:
-
NON_INTERACTIVE
- See Also:
-
BATCH_MODE
- See Also:
-
FORCE_INTERACTIVE
- See Also:
-
ALTERNATE_USER_SETTINGS
- See Also:
-
ALTERNATE_PROJECT_SETTINGS
- See Also:
-
ALTERNATE_INSTALLATION_SETTINGS
- See Also:
-
ALTERNATE_USER_TOOLCHAINS
- See Also:
-
ALTERNATE_INSTALLATION_TOOLCHAINS
- See Also:
-
LOG_FILE
- See Also:
-
RAW_STREAMS
- See Also:
-
COLOR
- See Also:
-
HELP
- See Also:
-
DEBUG
- See Also:
-
ENC
- See Also:
-
YJP
- See Also:
-
ALTERNATE_GLOBAL_SETTINGS
Deprecated.- See Also:
-
ALTERNATE_GLOBAL_TOOLCHAINS
Deprecated.- See Also:
-
options
protected org.apache.commons.cli.Options options -
usedDeprecatedOptions
-
-
Constructor Details
-
CLIManager
protected CLIManager()
-
-
Method Details
-
prepareOptions
protected void prepareOptions(org.apache.commons.cli.Options options) -
parse
public org.apache.commons.cli.CommandLine parse(String[] args) throws org.apache.commons.cli.ParseException - Throws:
org.apache.commons.cli.ParseException
-
addDeprecatedOption
protected void addDeprecatedOption(org.apache.commons.cli.Option option) -
getOptions
public org.apache.commons.cli.Options getOptions() -
getUsedDeprecatedOptions
-
displayHelp
-
commandLineSyntax
-