public class DestroyHandlingStateOp extends Object implements StateOperator
StateOperator
s 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.Constructor and Description |
---|
DestroyHandlingStateOp(StateOperator delegate) |
Modifier and Type | Method and Description |
---|---|
ParentState |
evaluate(State... states)
Evaluate the given states.
|
protected ParentState |
onDestroyed(int index) |
public DestroyHandlingStateOp(StateOperator delegate)
public ParentState evaluate(State... states)
StateOperator
evaluate
in interface StateOperator
states
- The states.protected ParentState onDestroyed(int index)