net.dpml.cli
public interface Group extends Option
Method Summary | |
---|---|
void | appendUsage(StringBuffer buffer, Set helpSettings, Comparator comp, String separator)
Appends usage information to the specified StringBuffer
|
int | getMaximum()
Retrieves the maximum number of members acceptable for a valid Group
|
int | getMinimum()
Retrieves the minimum number of members required for a valid Group
|
boolean | isRequired()
Indicates whether group members must be present for the CommandLine to be
valid.
|
Parameters: buffer the buffer to append to helpSettings a set of display settings @see DisplaySetting comp a comparator used to sort the Options separator the String used to separate member Options
Returns: the maximum number of members
Returns: the minimum number of members
Returns: true iff the CommandLine will be invalid without at least one member option
See Also: getMinimum getMaximum