ArgumentAcceptingOptionSpec<V> |
ArgumentAcceptingOptionSpec.defaultsTo(V[] values) |
Specifies a set of default values for the argument of the option that this spec represents.
|
ArgumentAcceptingOptionSpec<V> |
ArgumentAcceptingOptionSpec.defaultsTo(V value,
V... values) |
Specifies a set of default values for the argument of the option that this spec represents.
|
ArgumentAcceptingOptionSpec<V> |
ArgumentAcceptingOptionSpec.describedAs(String description) |
Specifies a description for the argument of the option that this spec represents.
|
<T> ArgumentAcceptingOptionSpec<T> |
ArgumentAcceptingOptionSpec.ofType(Class<T> argumentType) |
Specifies a type to which arguments of this spec's option are to be converted.
|
ArgumentAcceptingOptionSpec<V> |
ArgumentAcceptingOptionSpec.required() |
Marks this option as required.
|
ArgumentAcceptingOptionSpec<String> |
OptionSpecBuilder.withOptionalArg() |
Informs an option parser that this builder's option accepts an optional argument.
|
ArgumentAcceptingOptionSpec<String> |
OptionSpecBuilder.withRequiredArg() |
Informs an option parser that this builder's option requires an argument.
|
<T> ArgumentAcceptingOptionSpec<T> |
ArgumentAcceptingOptionSpec.withValuesConvertedBy(ValueConverter<T> aConverter) |
Specifies a converter to use to translate arguments of this spec's option into Java objects.
|
ArgumentAcceptingOptionSpec<V> |
ArgumentAcceptingOptionSpec.withValuesSeparatedBy(char separator) |
Specifies a value separator for the argument of the option that this spec represents.
|
ArgumentAcceptingOptionSpec<V> |
ArgumentAcceptingOptionSpec.withValuesSeparatedBy(String separator) |
Specifies a value separator for the argument of the option that this spec represents.
|