| 类 | 说明 |
|---|---|
| State |
Represents a state in a
StateMachine. |
| 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. |
| StateMachineProxyBuilder |
Used to create proxies which will forward all method calls on them to a
StateMachine. |
| 异常错误 | 说明 |
|---|---|
| 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. |