Example usage for Java org.apache.commons.cli2.builder ArgumentBuilder fields, constructors, methods, implement or subclass
The text is from its open source code.
ArgumentBuilder() Creates a new ArgumentBuilder instance |
Argument | create() Creates a new Argument instance using the options specified in this ArgumentBuilder. |
ArgumentBuilder | reset() Resets the ArgumentBuilder to the defaults for a new Argument. |
ArgumentBuilder | withConsumeRemaining(final String newConsumeRemaining) Sets the "consume remaining" option, defaults to "--". |
ArgumentBuilder | withDefault(final Object defaultValue) Sets the default value. |
ArgumentBuilder | withInitialSeparator(final char newInitialSeparator) Sets the character used to separate the values from the option. |
ArgumentBuilder | withMaximum(final int newMaximum) Sets the maximum number of values allowed for the argument to be valid. |
ArgumentBuilder | withMinimum(final int newMinimum) Sets the minimum number of values needed for the argument to be valid. |
ArgumentBuilder | withName(final String newName) Sets the name of the argument. |
ArgumentBuilder | withSubsequentSeparator(final char newSubsequentSeparator) Sets the character used to separate the values from each other. |