Package org.oddjob.state
Class AssertNonDestroyed
java.lang.Object
org.oddjob.state.AssertNonDestroyed
- All Implemented Interfaces:
StateOperator
A
StateOperator that ensures non of the operands
are destroyed.- Author:
- rob
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
AssertNonDestroyed
public AssertNonDestroyed()
-
-
Method Details
-
evaluate
Description copied from interface:StateOperatorEvaluate the given states.- Specified by:
evaluatein interfaceStateOperator- Parameters:
states- The states.- Returns:
- The result state.
- Throws:
IllegalStateException
-