|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
An Option representing a choice or group of Options in the form "-a|-b|-c".
| 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. |
| Methods inherited from interface net.dpml.cli.Option |
appendUsage, canProcess, canProcess, defaults, findOption, getDescription, getId, getPreferredName, getPrefixes, getTriggers, helpLines, process, validate |
| Method Detail |
public void appendUsage(StringBuffer buffer,
Set helpSettings,
Comparator comp,
String separator)
buffer - the buffer to append tohelpSettings - a set of display settings @see DisplaySettingcomp - a comparator used to sort the Optionsseparator - the String used to separate member Optionspublic boolean isRequired()
isRequired in interface OptiongetMinimum(),
getMaximum()public int getMinimum()
public int getMaximum()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||