Class IsSoftResetable

java.lang.Object
org.oddjob.state.IsSoftResetable
All Implemented Interfaces:
Predicate<State>, StateCondition

public class IsSoftResetable extends Object implements StateCondition
The StateConditions under which a typical job can be soft reset.
Author:
rob
  • Constructor Details

    • IsSoftResetable

      public IsSoftResetable()
  • Method Details

    • test

      public boolean test(State state)
      Description copied from interface: StateCondition
      Tests the condition of the state.
      Specified by:
      test in interface Predicate<State>
      Specified by:
      test in interface StateCondition
      Parameters:
      state - The state.
      Returns:
      true if the state matches the condition, false otherwise.