A C D G I L R S U
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- addState(T, Function<StateMetadata<T>, T>) - Method in class ca.retrylife.jstate.StateMachine
-
Add a state to the StateMachine
- allStates - Variable in class ca.retrylife.jstate.StateMachine
C
- ca.retrylife.jstate - package ca.retrylife.jstate
- call(boolean, T) - Method in class ca.retrylife.jstate.StateHandler
-
Call the action function
D
- defaultStateKey - Variable in class ca.retrylife.jstate.StateMachine
- desiredStateKey - Variable in class ca.retrylife.jstate.StateMachine
G
- getCurrentState() - Method in class ca.retrylife.jstate.StateMachine
-
Get the system's current state
- getParent() - Method in class ca.retrylife.jstate.StateMetadata
-
Get the
StateMachine
object that this state belongs to - getPreviousStateKey() - Method in class ca.retrylife.jstate.StateMetadata
-
Get the key of the last state to run.
I
- isFirstRun() - Method in class ca.retrylife.jstate.StateMetadata
-
Is this the first loop of this action?
L
- lastStateKey - Variable in class ca.retrylife.jstate.StateMachine
R
- removeState(T) - Method in class ca.retrylife.jstate.StateMachine
-
Remove a state from the StateMachine
S
- setDefaultState(T, Function<StateMetadata<T>, T>) - Method in class ca.retrylife.jstate.StateMachine
-
Add a state to the StateMachine, and set it as the default.
- setState(T) - Method in class ca.retrylife.jstate.StateMachine
-
Set the StateMachine's state
- StateHandler<T> - Class in ca.retrylife.jstate
- StateHandler(StateMachine<T>, Function<StateMetadata<T>, T>) - Constructor for class ca.retrylife.jstate.StateHandler
-
Create a StateHandler for a given state
- StateMachine<T> - Class in ca.retrylife.jstate
- StateMachine(String) - Constructor for class ca.retrylife.jstate.StateMachine
-
Create a StateMachine
- StateMetadata<T> - Class in ca.retrylife.jstate
-
A container for metadata about a state.
- StateMetadata(StateMachine, T, boolean) - Constructor for class ca.retrylife.jstate.StateMetadata
-
Create StateMetadata
U
- update() - Method in class ca.retrylife.jstate.StateMachine
-
Update the machine.
All Classes All Packages