org.oddjob.state
Class AssertNonDestroyed
java.lang.Object
org.oddjob.state.AssertNonDestroyed
- All Implemented Interfaces:
- StateOperator
public class AssertNonDestroyed
- extends Object
- implements StateOperator
A StateOperator
that ensures non of the operands
are destroyed.
- Author:
- rob
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AssertNonDestroyed
public AssertNonDestroyed()
evaluate
public ParentState evaluate(State... states)
throws IllegalStateException
- Description copied from interface:
StateOperator
- Evaluate the given states.
- Specified by:
evaluate
in interface StateOperator
- Parameters:
states
- The states.
- Returns:
- The result state.
- Throws:
IllegalStateException