Uses of Class
org.apache.commons.cli.Option.Builder
-
Uses of Option.Builder in org.apache.commons.cli
Methods in org.apache.commons.cli that return Option.BuilderModifier and TypeMethodDescriptionSets the display name for the argument value.static Option.Builder
Option.builder()
Returns aOption.Builder
to create anOption
using descriptive methods.static Option.Builder
Returns aOption.Builder
to create anOption
using descriptive methods.Sets the converter for the option.Option.Builder.deprecated()
Marks this Option as deprecated.Option.Builder.deprecated
(DeprecatedAttributes deprecated) Sets whether the Option is deprecated.Sets the description for this option.Option.Builder.hasArg()
Tests whether the Option will require an argument.Option.Builder.hasArg
(boolean hasArg) Tests whether the Option has an argument or not.Option.Builder.hasArgs()
Tests whether the Option can have unlimited argument values.Sets the long name of the Option.Option.Builder.numberOfArgs
(int argCount) Sets the number of argument values the Option can take.Sets the name of the Option.Option.Builder.optionalArg
(boolean optionalArg) Sets whether the Option can have an optional argument.Option.Builder.required()
Marks this Option as required.Option.Builder.required
(boolean required) Sets whether the Option is required.Sets the type of the Option.Option.Builder.valueSeparator()
The Option will use '=' as a means to separate argument value.Option.Builder.valueSeparator
(char valueSeparator) The Option will usesep
as a means to separate argument values.