Option.Builder |
Option.Builder.argName(java.lang.String argName) |
Sets the display name for the argument value.
|
static Option.Builder |
Option.builder() |
|
static Option.Builder |
Option.builder(java.lang.String option) |
|
Option.Builder |
Option.Builder.desc(java.lang.String description) |
Sets the description for this option.
|
Option.Builder |
Option.Builder.hasArg() |
Indicates that the Option will require an argument.
|
Option.Builder |
Option.Builder.hasArg(boolean hasArg) |
Indicates if the Option has an argument or not.
|
Option.Builder |
Option.Builder.hasArgs() |
Indicates that the Option can have unlimited argument values.
|
Option.Builder |
Option.Builder.longOpt(java.lang.String longOpt) |
Sets the long name of the Option.
|
Option.Builder |
Option.Builder.numberOfArgs(int numberOfArgs) |
Sets the number of argument values the Option can take.
|
Option.Builder |
Option.Builder.option(java.lang.String option) |
Sets the name of the Option.
|
Option.Builder |
Option.Builder.optionalArg(boolean isOptional) |
Sets whether the Option can have an optional argument.
|
Option.Builder |
Option.Builder.required() |
Marks this Option as required.
|
Option.Builder |
Option.Builder.required(boolean required) |
Sets whether the Option is mandatory.
|
Option.Builder |
Option.Builder.type(java.lang.Class<?> type) |
Sets the type of the Option.
|
Option.Builder |
Option.Builder.valueSeparator() |
The Option will use '=' as a means to separate argument value.
|
Option.Builder |
Option.Builder.valueSeparator(char sep) |
The Option will use sep as a means to separate argument values.
|