|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jcommando.Grouping
Field Summary | |
protected java.util.List |
groupings
|
protected java.lang.String |
id
|
protected java.util.Set |
options
|
Constructor Summary | |
Grouping()
Default constructor. |
Method Summary | |
void |
addOption(Option option)
Add an option to this grouping. |
java.util.List |
getGroupings()
Get the child "Groupings" of this Grouping. |
java.util.Set |
getOptions()
Get the options in this Grouping. |
abstract boolean |
satisfied(java.util.Set optionSet)
Abstract method implemented by subclasses of Grouping that tests whether all the requirements of the grouping have been satisfied by the supplied options. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.util.Set options
protected java.util.List groupings
protected java.lang.String id
Constructor Detail |
public Grouping()
Method Detail |
public void addOption(Option option)
option
- the option to addpublic java.util.List getGroupings()
public java.util.Set getOptions()
public abstract boolean satisfied(java.util.Set optionSet)
optionSet
- the set of options parsed from the command-line
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |