| Class | Description |
|---|---|
| State |
Represents a state in a
StateMachine. |
| State.TransitionHolder | |
| StateControl |
Allows for programmatic control of a state machines execution.
|
| StateMachine |
Represents a complete state machine.
|
| StateMachineFactory |
Creates
StateMachines by reading State,
Transition and Transitions (or equivalent) and SelfTransition annotations from one or more arbitrary
objects. |
| StateMachineFactory.TransitionsWrapper | |
| StateMachineFactory.TransitionWrapper | |
| StateMachineProxyBuilder |
Used to create proxies which will forward all method calls on them to a
StateMachine. |
| StateMachineProxyBuilder.MethodInvocationHandler |
| Exception | Description |
|---|---|
| BreakAndCallException |
Exception used internally by
StateControl. |
| BreakAndContinueException |
Exception used internally by
StateControl. |
| BreakAndGotoException |
Exception used internally by
StateControl. |
| BreakAndReturnException |
Exception used internally by
StateControl. |
| BreakException |
The base exception of the exceptions thrown by the methods in the
StateControl class. |
| NoSuchStateException |
Exception thrown by
StateMachine when a transition in the state
machine references a state which doesn't exist. |
| StateMachineCreationException |
Exception thrown by
StateMachineFactory when a StateMachine
could not be constructed for some reason. |