| Interface | Description |
|---|---|
| EventTypeClassifier<E,T> |
A functional interface to determine the event type of an event.
|
| EventWithType<T> |
An interface to be implemented by Events that are distinct from their types.
|
| GenericStateMachine | |
| Guard<E,C> |
A functional interface to determine whether a transition is eligible or not.
|
| SimpleStatefulStateMachine<S,E,T> | |
| SimpleStateMachine<S,E,T> |
A state machine.
|
| StatefulStateMachine<S,E,T> | |
| StatefulStateMachineWithContext<S,E,T,C> | |
| StateMachine<S,E,T> | |
| StateMachineListener<S,E,T,C> |
A marker interface for all kinds of listeners that can be attached to a state
machine by
StateMachineBuilder.withListener(StateMachineListener). |
| StateMachineWithContext<S,E,T,C> |
A
SimpleStateMachine with a computational context. |
| StateWithEnterHandler<E,C> |
An interface to be implemented by States that handle incoming events.
|
| StateWithExitHandler<E,C> |
An interface to be implemented by States that handle outgoing events.
|
| StateWithParent<S> | |
| TransitionListener<S,E,T,C> |
A transition listener is invoked after a state is exited and before a new
state is entered.
|
| Class | Description |
|---|---|
| Events |
Static utility methods for dealing with events of all kinds of sorts.
|
| ExpressionGuard<E,C> |
A Guard which is defined by an MVEL expression.
|
| RunResult<S,C> | |
| StateMachineBuilder<S,E,T,C,M extends StateMachine<S,E,T>> |
A builder to create
SimpleStateMachines. |
| StateMachines |
Static utility methods for dealing with state machines.
|
| Transition<S,T> |
A value class that represents a transition, with an optional guard attached.
|
| Transition.TransitionBuilder<S> |
A TransitionBuilder that builds transitions.
|
| Transition.TransitionBuilder2<S,T> |
A TransitionBuilder that builds transitions.
|
| Enum | Description |
|---|---|
| StateMachineBuilderException.ErrorType |
Tge type of this exception.
|
| StateMachines.OutputFormat |
Enumeration of output formats for serializing state machine definitions.
|
| Exception | Description |
|---|---|
| DeadEndException | |
| EventTypeClassifierException | |
| GuardEvaluationException | |
| InvalidExpressionException | |
| StateHandlerException | |
| StateMachineBuilderException |
A RuntimeException thrown by
StateMachineBuilder when trying to
instantiate a SimpleStateMachine from an invalid definition. |
| StateMachineException |
Copyright © 2015. All rights reserved.