Package | Description |
---|---|
org.apache.commons.cli2.builder | |
org.apache.commons.cli2.option |
Modifier and Type | Method and Description |
---|---|
Argument |
ArgumentBuilder.create()
Creates a new Argument instance using the options specified in this
ArgumentBuilder.
|
Modifier and Type | Method and Description |
---|---|
CommandBuilder |
CommandBuilder.withArgument(Argument newArgument)
Specifies the argument for the next
Command
that is created. |
SwitchBuilder |
SwitchBuilder.withArgument(Argument newArgument)
Use this Argument
|
DefaultOptionBuilder |
DefaultOptionBuilder.withArgument(Argument newArgument)
Use this Argument
|
Modifier and Type | Class and Description |
---|---|
class |
ArgumentImpl
An implementation of an Argument.
|
class |
SourceDestArgument
An Argument implementation that allows a variable size Argument to precede a
fixed size argument.
|
Modifier and Type | Method and Description |
---|---|
Argument |
ParentImpl.getArgument() |
Constructor and Description |
---|
Command(String preferredName,
String description,
Set aliases,
boolean required,
Argument argument,
Group children,
int id)
Creates a new Command instance.
|
DefaultOption(String shortPrefix,
String longPrefix,
boolean burstEnabled,
String preferredName,
String description,
Set aliases,
Set burstAliases,
boolean required,
Argument argument,
Group children,
int id)
Creates a new DefaultOption
|
ParentImpl(Argument argument,
Group children,
String description,
int id,
boolean required) |
SourceDestArgument(Argument source,
Argument dest)
Creates a SourceDestArgument using defaults where possible.
|
SourceDestArgument(Argument source,
Argument dest,
char initialSeparator,
char subsequentSeparator,
String consumeRemaining,
List defaultValues)
Creates a SourceDestArgument using the specified parameters.
|
Switch(String enabledPrefix,
String disabledPrefix,
String preferredName,
Set aliases,
String description,
boolean required,
Argument argument,
Group children,
int id,
Boolean switchDefault)
Creates a new Switch with the specified parameters
|
Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.