org.oddjob.state
Interface StateCondition

All Known Implementing Classes:
IsAnyState, IsDoneOrCrashed, IsExecutable, IsHardResetable, IsNot, IsSaveable, IsSoftResetable, IsStoppable, StateConditions

public interface StateCondition

Something that is able to test the condition of a State.

Author:
rob

Method Summary
 boolean test(State state)
          Tests the condition of the state.
 

Method Detail

test

boolean test(State state)
Tests the condition of the state.

Parameters:
state - The state.
Returns:
true if the state matches the condition, false otherwise.