Package org.oddjob.state
Class DestroyHandlingStateOp
java.lang.Object
org.oddjob.state.DestroyHandlingStateOp
- All Implemented Interfaces:
StateOperator
Handle a destroyed state. Most
StateOperators don't need to
handle the destroyed state because the Arooa Framework ensures that
a child is removed from a parent before it is destroyed. There are
however situations where a job adds it's own children and must cope
with them being destroyed. RunJob is one such example.- Author:
- rob
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionevaluate(StateEvent... states) Evaluate the given states.protected StateEventonDestroyed(int index)
-
Constructor Details
-
DestroyHandlingStateOp
-
-
Method Details
-
evaluate
Description copied from interface:StateOperatorEvaluate the given states.- Specified by:
evaluatein interfaceStateOperator- Parameters:
states- The states.- Returns:
- The result state.
-
onDestroyed
-