org.oddjob.state
Class IsDoneOrCrashed

java.lang.Object
  extended by org.oddjob.state.IsDoneOrCrashed
All Implemented Interfaces:
StateCondition

public class IsDoneOrCrashed
extends Object
implements StateCondition

Test if the job/service has finished or has crashed.

Author:
rob

Constructor Summary
IsDoneOrCrashed()
           
 
Method Summary
 boolean test(State state)
          Tests the condition of the state.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IsDoneOrCrashed

public IsDoneOrCrashed()
Method Detail

test

public boolean test(State state)
Description copied from interface: StateCondition
Tests the condition of the state.

Specified by:
test in interface StateCondition
Parameters:
state - The state.
Returns:
true if the state matches the condition, false otherwise.