Uses of Class
org.apache.commons.cli.OptionBuilder
Packages that use OptionBuilder
Package
Description
Apache Commons CLI provides a simple API for presenting, processing, and validating a Command Line Interface.
-
Uses of OptionBuilder in org.apache.commons.cli
Methods in org.apache.commons.cli that return OptionBuilderModifier and TypeMethodDescriptionstatic OptionBuilder
OptionBuilder.hasArg()
Deprecated.The next Option created will require an argument value.static OptionBuilder
OptionBuilder.hasArg
(boolean hasArg) Deprecated.The next Option created will require an argument value ifhasArg
is true.static OptionBuilder
OptionBuilder.hasArgs()
Deprecated.The next Option created can have unlimited argument values.static OptionBuilder
OptionBuilder.hasArgs
(int num) Deprecated.The next Option created can havenum
argument values.static OptionBuilder
OptionBuilder.hasOptionalArg()
Deprecated.The next Option can have an optional argument.static OptionBuilder
OptionBuilder.hasOptionalArgs()
Deprecated.The next Option can have an unlimited number of optional arguments.static OptionBuilder
OptionBuilder.hasOptionalArgs
(int numArgs) Deprecated.The next Option can have the specified number of optional arguments.static OptionBuilder
OptionBuilder.isRequired()
Deprecated.The next Option created will be required.static OptionBuilder
OptionBuilder.isRequired
(boolean newRequired) Deprecated.The next Option created will be required ifrequired
is true.static OptionBuilder
OptionBuilder.withArgName
(String name) Deprecated.The next Option created will have the specified argument value name.static OptionBuilder
OptionBuilder.withDescription
(String newDescription) Deprecated.The next Option created will have the specified descriptionstatic OptionBuilder
OptionBuilder.withLongOpt
(String newLongopt) Deprecated.The next Option created will have the following long option value.static OptionBuilder
Deprecated.The next Option created will have a value that will be an instance oftype
.static OptionBuilder
Deprecated.static OptionBuilder
OptionBuilder.withValueSeparator()
Deprecated.The next Option created uses '=
' as a means to separate argument values.static OptionBuilder
OptionBuilder.withValueSeparator
(char sep) Deprecated.The next Option created usessep
as a means to separate argument values.
withType(Class)
instead