org.oddjob.state
Class CompleteOrNotOp
java.lang.Object
org.oddjob.state.CompleteOrNotOp
- All Implemented Interfaces:
- StateOperator
public class CompleteOrNotOp
- extends Object
- implements StateOperator
Implementation of a StateOperator
that is
either complete if all the children are complete, or not.
This is used by scheduling.
- Author:
- rob
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CompleteOrNotOp
public CompleteOrNotOp()
evaluate
public ParentState evaluate(State... states)
- Description copied from interface:
StateOperator
- Evaluate the given states.
- Specified by:
evaluate
in interface StateOperator
- Parameters:
states
- The states.
- Returns:
- The result state.