net.dpml.cli.builder
Class GroupBuilder
java.lang.Object
net.dpml.cli.builder.GroupBuilder
Builds Group instances.
GroupBuilder
public GroupBuilder()
Creates a new GroupBuilder
create
public Group create()
Creates a new Group instance
withDescription
public GroupBuilder withDescription(String newDescription)
Use this option description
newDescription
- the description to use
withMaximum
public GroupBuilder withMaximum(int newMaximum)
A valid group requires at most this many options present
newMaximum
- the maximum Options allowed
withMinimum
public GroupBuilder withMinimum(int newMinimum)
A valid group requires at least this many options present
newMinimum
- the minimum Options required