static CommandLine.Model.OptionSpec.Builder |
CommandLine.Model.OptionSpec.builder(String[] names) |
|
static CommandLine.Model.OptionSpec.Builder |
CommandLine.Model.OptionSpec.builder(String name,
String... names) |
|
static CommandLine.Model.OptionSpec.Builder |
CommandLine.Model.OptionSpec.builder(CommandLine.Model.IAnnotatedElement source,
CommandLine.IFactory factory) |
|
static CommandLine.Model.OptionSpec.Builder |
CommandLine.Model.OptionSpec.builder(CommandLine.Model.OptionSpec original) |
Returns a Builder initialized from the specified OptionSpec .
|
CommandLine.Model.OptionSpec.Builder |
CommandLine.Model.OptionSpec.Builder.fallbackValue(String fallbackValue) |
Sets the fallback value for this option: the value that is assigned for options with an optional
parameter if the option was specified on the command line without parameter, and returns this builder.
|
CommandLine.Model.OptionSpec.Builder |
CommandLine.Model.OptionSpec.Builder.help(boolean help) |
Sets whether this option disables validation of the other arguments, and returns this builder.
|
CommandLine.Model.OptionSpec.Builder |
CommandLine.Model.OptionSpec.Builder.names(String... names) |
Replaces the option names with the specified values.
|
CommandLine.Model.OptionSpec.Builder |
CommandLine.Model.OptionSpec.Builder.negatable(boolean negatable) |
Sets whether a negative version for this boolean option is automatically added, and returns this builder.
|
CommandLine.Model.OptionSpec.Builder |
CommandLine.Model.OptionSpec.Builder.order(int order) |
Sets the position in the options list in the usage help message at which this option should be shown, and returns this builder.
|
protected CommandLine.Model.OptionSpec.Builder |
CommandLine.Model.OptionSpec.Builder.self() |
Returns this builder.
|
CommandLine.Model.OptionSpec.Builder |
CommandLine.Model.OptionSpec.toBuilder() |
Returns a new Builder initialized with the attributes from this OptionSpec .
|
CommandLine.Model.OptionSpec.Builder |
CommandLine.Model.OptionSpec.Builder.usageHelp(boolean usageHelp) |
Sets whether this option allows the user to request usage help, and returns this builder.
|
CommandLine.Model.OptionSpec.Builder |
CommandLine.Model.OptionSpec.Builder.versionHelp(boolean versionHelp) |
Sets whether this option allows the user to request version information, and returns this builder.
|