Uses of Class net.dpml.cli.builder.ArgumentBuilder

Uses in package net.dpml.cli.builder

Constructors with parameter type net.dpml.cli.builder.ArgumentBuilder

Creates a new PatternBuilder

Methods with return type net.dpml.cli.builder.ArgumentBuilder

ArgumentBuilder
Resets the ArgumentBuilder to the defaults for a new Argument.
ArgumentBuilder
ArgumentBuilder.withConsumeRemaining(String newConsumeRemaining)
Sets the "consume remaining" option, defaults to "--".
ArgumentBuilder
ArgumentBuilder.withDefault(Object defaultValue)
Sets the default value.
ArgumentBuilder
ArgumentBuilder.withDefaults(List newDefaultValues)
Sets the default values.
ArgumentBuilder
ArgumentBuilder.withDescription(String newDescription)
Sets the description of the argument.
ArgumentBuilder
Sets the id
ArgumentBuilder
ArgumentBuilder.withInitialSeparator(char newInitialSeparator)
Sets the character used to separate the values from the option.
ArgumentBuilder
ArgumentBuilder.withMaximum(int newMaximum)
Sets the maximum number of values allowed for the argument to be valid.
ArgumentBuilder
ArgumentBuilder.withMinimum(int newMinimum)
Sets the minimum number of values needed for the argument to be valid.
ArgumentBuilder
ArgumentBuilder.withName(String newName)
Sets the name of the argument.
ArgumentBuilder
ArgumentBuilder.withSubsequentSeparator(char newSubsequentSeparator)
Sets the character used to separate the values from each other.
ArgumentBuilder
Sets the validator instance used to perform validation on the Argument values.