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 OptionBuilderOptionBuilder.hasArg()Deprecated.The next Option created will require an argument value.static OptionBuilderOptionBuilder.hasArg(boolean hasArg) Deprecated.The next Option created will require an argument value ifhasArgis true.static OptionBuilderOptionBuilder.hasArgs()Deprecated.The next Option created can have unlimited argument values.static OptionBuilderOptionBuilder.hasArgs(int num) Deprecated.The next Option created can havenumargument values.static OptionBuilderOptionBuilder.hasOptionalArg()Deprecated.The next Option can have an optional argument.static OptionBuilderOptionBuilder.hasOptionalArgs()Deprecated.The next Option can have an unlimited number of optional arguments.static OptionBuilderOptionBuilder.hasOptionalArgs(int numArgs) Deprecated.The next Option can have the specified number of optional arguments.static OptionBuilderOptionBuilder.isRequired()Deprecated.The next Option created will be required.static OptionBuilderOptionBuilder.isRequired(boolean newRequired) Deprecated.The next Option created will be required ifrequiredis true.static OptionBuilderOptionBuilder.withArgName(String name) Deprecated.The next Option created will have the specified argument value name.static OptionBuilderOptionBuilder.withDescription(String newDescription) Deprecated.The next Option created will have the specified descriptionstatic OptionBuilderOptionBuilder.withLongOpt(String newLongopt) Deprecated.The next Option created will have the following long option value.static OptionBuilderDeprecated.The next Option created will have a value that will be an instance oftype.static OptionBuilderDeprecated.static OptionBuilderOptionBuilder.withValueSeparator()Deprecated.The next Option created uses '=' as a means to separate argument values.static OptionBuilderOptionBuilder.withValueSeparator(char sep) Deprecated.The next Option created usessepas a means to separate argument values.
withType(Class)instead