org.oddjob.state
Class WorstStateOp

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

public class WorstStateOp
extends Object
implements StateOperator

Implementation of a StateOperator that provides a parent state as follows:

This Operator is legacy behaviour and has been replace by AnyActiveStateOp in most Structural jobs.

Author:
rob

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

Constructor Detail

WorstStateOp

public WorstStateOp()
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.

toString

public String toString()
Overrides:
toString in class Object