| Interface | Description |
|---|---|
| StateWithCallbacks<T> |
A state for a
FiniteStateMachine which supports callbacks when entering and leaving the state. |
| Class | Description |
|---|---|
| FiniteStateMachine<T> |
An implementation of a basic FiniteStateMachine that allows keeping track of the state its state and gating certain
logic on whether a transition is valid or not.
|
| FiniteStateMachine.Builder<T> |
Used to build a
FiniteStateMachine instance. |
| Enum | Description |
|---|---|
| FiniteStateMachine.FailedCallback |
| Exception | Description |
|---|---|
| FiniteStateMachine.AbandonedTransitionException |
Thrown when a transition was initiated by a thread that no longer exists, likely implying that the transition can
never be closed.
|
| FiniteStateMachine.FailedTransitionCallbackException |
Thrown when the callbacks when closing a transition fail.
|
| FiniteStateMachine.ReentrantStableStateWait |
Thrown when a thread that has started a transition is waiting for a non-transitioning state, which is a deadlock situation.
|
| FiniteStateMachine.UnallowedTransitionException |
If a transition is not allowed to happen.
|