Modifier and Type | Method | Description |
---|---|---|
static OptionBuilder |
OptionBuilder.hasArg() |
The next Option created will require an argument value.
|
static OptionBuilder |
OptionBuilder.hasArg(boolean hasArg) |
The next Option created will require an argument value if
hasArg is true. |
static OptionBuilder |
OptionBuilder.hasArgs() |
The next Option created can have unlimited argument values.
|
static OptionBuilder |
OptionBuilder.hasArgs(int num) |
The next Option created can have
num argument values. |
static OptionBuilder |
OptionBuilder.hasOptionalArg() |
The next Option can have an optional argument.
|
static OptionBuilder |
OptionBuilder.hasOptionalArgs() |
The next Option can have an unlimited number of optional arguments.
|
static OptionBuilder |
OptionBuilder.hasOptionalArgs(int numArgs) |
The next Option can have the specified number of optional arguments.
|
static OptionBuilder |
OptionBuilder.isRequired() |
The next Option created will be required.
|
static OptionBuilder |
OptionBuilder.isRequired(boolean newRequired) |
The next Option created will be required if
required
is true. |
static OptionBuilder |
OptionBuilder.withArgName(java.lang.String name) |
The next Option created will have the specified argument value name.
|
static OptionBuilder |
OptionBuilder.withDescription(java.lang.String newDescription) |
The next Option created will have the specified description
|
static OptionBuilder |
OptionBuilder.withLongOpt(java.lang.String newLongopt) |
The next Option created will have the following long option value.
|
static OptionBuilder |
OptionBuilder.withType(java.lang.Object newType) |
The next Option created will have a value that will be an instance
of
type . |
static OptionBuilder |
OptionBuilder.withValueSeparator() |
The next Option created uses '
= ' as a means to
separate argument values. |
static OptionBuilder |
OptionBuilder.withValueSeparator(char sep) |
The next Option created uses
sep as a means to
separate argument values. |