Interface | Description |
---|---|
ParentStateConverter |
Provides a conversion from a
State to an equivalent
ParentState . |
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 | Description |
---|---|
AndState | |
AndStateOp |
Implementation of a
StateOperator that provides logical 'and'
like functionality. |
AnyActiveStateOp |
Implementation of a
StateOperator that provides a parent state
as follows:
If any child is ACTIVE/EXECUTING then evaluate to ACTIVE.
If any child is STARTED then evaluate to STARTED.
If any child is EXCEPTION then evaluate to EXCEPTION.
If any child is INCOMPLETE then evaluate to INCOMPLETE.
If any child is READY then evaluate to READY.
Evaluate to COMPLETE.
This Operator is used in many Structural
jobs to calculate parent state. |
AssertNonDestroyed |
A
StateOperator that ensures non of the operands
are destroyed. |
AsyncJobWait |
Wait for a job to start Executing.
|
BaseStateChanger<S extends State> |
Base functionality for changing
State . |
CascadeJob | |
CascadeJobDepricated | Deprecated
Use
|
CascadeJobDF | |
CompleteOrNotOp |
Implementation of a
StateOperator that is
either complete if all the children are complete, or not. |
ConstStateful |
A Stateful with just one State.
|
DestroyHandlingStateOp |
Handle a destroyed state.
|
EqualsState | |
FlagState | |
GenericState |
A State made up of
StateFlag s. |
IfJob | |
IsAnyState |
The
StateCondition s that is always
true. |
IsExecutable |
The
StateCondition s under witch a job
is executable. |
IsForceable |
The
StateCondition s under which a typical job
can be forced to the complete state. |
IsHardResetable |
The
StateCondition s under witch a typical job
can be hard reset. |
IsNot |
Negates a
StateCondition . |
IsSaveable |
The
StateCondition s that is always
true. |
IsSoftResetable |
The
StateCondition s under which a typical job
can be soft reset. |
IsStoppable |
The
StateCondition s under witch a typical job
can be stopped. |
JobStateChanger |
A
StateChanger for JobState s. |
JobStateConverter | |
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 ParentState s. |
ParentStateHandler |
Helps Structurals handle state change.
|
Resets | |
ScoringStateOperator |
A base state operator for state evaluation using scores for
different states.
|
SequentialHelper |
Shared utility class for deciding if a
SequentialJob can continue. |
ServiceManagerStateOp |
Implementation of a
StateOperator that provides a parent state
as follows:
If any child is EXCEPTION then evaluate to EXCEPTION.
If any child is INCOMPLETE then evaluate to INCOMPLETE.
If any child is READY then evaluate to READY.
If any child is ACTIVE/EXECUTING then evaluate to ACTIVE.
Otherwise all children must be COMPLETE or STARTED so evaluate
to COMPLETE.
|
ServiceStateChanger |
A
StateChanger for ServiceState s. |
ServiceStateHandler |
Helps Services handle state change.
|
StandardParentStateConverter |
The typical
ParentStateConverter . |
StateConditions.Conversions |
The Conversion from String
|
StateEvent |
An instance of this class is produced when a job state changes.
|
StateEvent.SerializableNoSource |
Used to persist the event.
|
StateExchange<T extends State> |
Pass on state.
|
StateHandler<S extends State> |
Helps Jobs handle state change.
|
StateMatch |
Provide a very simple test on a State.
|
StateMemory |
A wrapper for a job that holds the state of the job
after it's been executed.
|
StateOperators |
Provide
StateOperator s for structural jobs |
StateOperators.Conversions |
The Conversion from String.
|
StateReflector |
Base class for Jobs that are designed purely to reflect the state of
their child jobs.
|
StructuralStateHelper |
Track, and aggregate the states of child jobs.
|
WorstStateOp |
Implementation of a
StateOperator that provides a parent state
as follows:
If any child is EXCEPTION then evaluate to EXCEPTION.
If any child is INCOMPLETE then evaluate to INCOMPLETE.
If any child is ACTIVE/EXECUTING then evaluate to ACTIVE.
If any child is READY then evaluate to READY.
Evaluate to COMPLETE.
This Operator is legacy behaviour and has been replace by
AnyActiveStateOp in most Structural jobs. |
Enum | Description |
---|---|
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
JobState s for conditions. |
StateFlag |
Flags to represent basic state.
|
Classes for state.