V - represents the type of the arguments this option acceptsclass OptionalArgumentOptionSpec<V> extends ArgumentAcceptingOptionSpec<V>
| Constructor and Description |
|---|
OptionalArgumentOptionSpec(java.util.List<java.lang.String> options,
java.lang.String description) |
OptionalArgumentOptionSpec(java.lang.String option) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
detectOptionArgument(OptionParser parser,
ArgumentList arguments,
OptionSet detectedOptions) |
private void |
handleOptionArgument(OptionParser parser,
OptionSet detectedOptions,
ArgumentList arguments) |
acceptsArguments, addArguments, argumentDescription, argumentTypeIndicator, canConvertArgument, convert, defaultsTo, defaultsTo, defaultValues, describedAs, equals, handleOption, hashCode, isArgumentOfNumberType, isRequired, ofType, required, requiresArgument, withValuesConvertedBy, withValuesSeparatedBy, withValuesSeparatedByargumentTypeIndicatorFrom, convertWith, description, forHelp, isForHelp, options, representsNonOptions, toString, value, valuesOptionalArgumentOptionSpec(java.lang.String option)
OptionalArgumentOptionSpec(java.util.List<java.lang.String> options,
java.lang.String description)
protected void detectOptionArgument(OptionParser parser, ArgumentList arguments, OptionSet detectedOptions)
detectOptionArgument in class ArgumentAcceptingOptionSpec<V>private void handleOptionArgument(OptionParser parser, OptionSet detectedOptions, ArgumentList arguments)