org.oddjob.state
Class OrStateOp

java.lang.Object
  extended by org.oddjob.state.OrStateOp
All Implemented Interfaces:
StateOperator

public class OrStateOp
extends Object
implements StateOperator

Implementation of a StateOperator that provides logical 'and' like functionality.

Author:
rob

Constructor Summary
OrStateOp()
           
 
Method Summary
 ParentState evaluate(State... states)
          Evaluate the given states.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OrStateOp

public OrStateOp()
Method Detail

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.