org.jcommando
Class Not

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

public class Not
extends Grouping

Author:
Brett Wooldridge

Field Summary
 
Fields inherited from class org.jcommando.Grouping
groupings, id, options
 
Constructor Summary
Not()
           
 
Method Summary
 boolean satisfied(java.util.Set optionSet)
          Returns true if the 'not' 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

Not

public Not()
Method Detail

satisfied

public boolean satisfied(java.util.Set optionSet)
Returns true if the 'not' 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)