Package org.oddjob.state

Classes for state.

See:
          Description

Interface Summary
State The state of a Stateful job.
StateChanger<S extends State> Implementations provide the ability to change something's JobState.
StateCondition Something that is able to test the condition of a State.
StateListener Implementors of this interface are able to listen to state events.
StateLock A mechanism for allowing actions to be performed synchronously with respect to state change.
StateOperator An operation that provides the result of evaluating many states.
 

Class Summary
AndState  
AndStateOp Implementation of a StateOperator that provides logical 'and' like functionality.
AssertNonDestroyed A StateOperator that ensures non of the operands are destroyed.
BaseStateChanger<S extends State> Base functionality for changing State.
CascadeJob  
CompleteOrNotOp Implementation of a StateOperator that is either complete if all the children are complete, or not.
EqualsState  
FlagState  
IfJob  
IsAnyState The StateConditions that is always true.
IsContinueable The StateConditions under witch a sequential type job should continue to execute child jobs.
IsDone Test if the job/service has finished.
IsExecutable The StateConditions under witch a job is executable.
IsHardResetable The StateConditions under witch a typical job can be hard reset.
IsNot Negates a StateCondition.
IsNotExecuting The StateConditions when a job isn't executing.
IsSaveable The StateConditions that is always true.
IsSoftResetable The StateConditions under which a typical job can be soft reset.
IsStoppable The StateConditions under witch a typical job can be stopped.
JobStateChanger A StateChanger for JobStates.
JobStateConverter Provides a conversion from a State to an equivalent JobState.
JobStateHandler Helps Jobs handle state change.
JoinJob  
MirrorState  
OrderedStateChanger<S extends State> A StateChanger that uses a StateLock to ensure updates or ordered.
OrState  
OrStateOp Implementation of a StateOperator that provides logical 'and' like functionality.
ParentStateChanger A StateChanger for ParentStates.
ParentStateConverter Provides a conversion from a State to an equivalent ParentState.
ParentStateHandler Helps Structurals handle state change.
Resets  
SequentialHelper Shared utility class for deciding if a SequentialJob can continue.
ServiceStateChanger A StateChanger for ServiceStates.
ServiceStateHandler Helps Services handle state change.
StateConditions.Conversions  
StateEvent An instance of this class is produced when a job state changes.
StateExchange Pass on state.
StateHandler<S extends State> Helps Jobs handle state change.
StateMemory A wrapper for a job that holds the state of the job after it's been executed.
StateReflector  
StructuralStateHelper Track, and aggregate the states of child jobs.
WorstStateOp Implementation of a StateOperator that provides the worst of any given states.
 

Enum Summary
JobState Encapsulate the allowed states for a job.
ParentState Encapsulate the allowed states for a Structural.
ServiceState Encapsulate the allowed states for a service.
StateConditions These are drop in replacements for jobs that used to use a JobStates for conditions.
 

Package org.oddjob.state Description

Classes for state.