| Package | Description |
|---|---|
| io.hektor.fsm.builder | |
| io.hektor.fsm.builder.exceptions |
| Modifier and Type | Method and Description |
|---|---|
Definition<S,C,D> |
FSMBuilder.build()
Build the definition of the state machine and validate that all is well.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ActionAlreadyDefinedException
Indicates that an action was already associated with the object (
State or
Transition) |
class |
DefaultTransitionAlreadySpecifiedException
You can only have a single default transition for a transient state.
|
class |
FinalStateAlreadyDefinedException
Indicates that you tried to define a final state twice.
|
class |
FinalStateIsTransientException
Indicates that you tried to define the final state as transient, which you cannot do.
|
class |
FinalStateTransitionsException
Indicates that you tried to define transitions on a final state.
|
class |
GuardAlreadyDefinedException
Indicates that a guard was already associated with the object (
State or
Transition) |
class |
IllegalTransformationOnTransitionException
You can optionally specify a transformation with your transition but you can only do so
if the state you are transitioning to is a so-called transient state.
|
class |
InitialStateAlreadyDefinedException
Indicates that you tried to define an initial state twice.
|
class |
StateAlreadyDefinedException
You can only define the same state once.
|
class |
StateBuilderException |
class |
StateNotDefinedException
If you define a transition from A to B but then you never end up defining the state B,
you will get this exception thrown when trying to build the FSM.
|
class |
TransientLoopDetectedException
If you would be able to specify a transition from a transient state to another transient state (or itself)
you will likely end up in a loop.
|
class |
TransientStateMissingTransitionException
Indicates that you defined a transient state but didn't specify any default
transitions, which you must for a transient state or you will get stuck
in that state and then it wouldn't be a transient state, now would it!
|
class |
TransitionMissingException
Indicates that you didn't define any transitions for the given state.
|
Copyright © 2019. All rights reserved.