org.jcommando
Class Or

java.lang.Object
  extended byorg.jcommando.Grouping
      extended byorg.jcommando.Or

public class Or
extends Grouping

Author:
Brett Wooldridge

Field Summary
 
Fields inherited from class org.jcommando.Grouping
groupings, id, options
 
Constructor Summary
Or()
           
 
Method Summary
 boolean satisfied(java.util.Set optionSet)
          Returns true if the 'or' requirement is satisfied.
 
Methods inherited from class org.jcommando.Grouping
addOption, getGroupings, getOptions
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Or

public Or()
Method Detail

satisfied

public boolean satisfied(java.util.Set optionSet)
Returns true if the 'or' requirement is satisfied.

Specified by:
satisfied in class Grouping
Parameters:
optionSet - the set of options to check
Returns:
true if this requirement is satisfied, false otherwise
See Also:
Grouping.satisfied(java.util.Set)