org.oddjob.state
Class IsNot
java.lang.Object
org.oddjob.state.IsNot
- All Implemented Interfaces:
- StateCondition
public class IsNot
- extends Object
- implements StateCondition
Negates a StateCondition
.
- Author:
- rob
IsNot
public IsNot(StateCondition condition)
test
public boolean test(State state)
- Description copied from interface:
StateCondition
- Tests the condition of the state.
- Specified by:
test
in interface StateCondition
- Parameters:
state
- The state.
- Returns:
- true if the state matches the condition, false otherwise.
toString
public String toString()
- Overrides:
toString
in class Object