| Package | Description |
|---|---|
| com.github.oxo42.stateless4j |
| Modifier and Type | Field and Description |
|---|---|
protected Action1<S> |
StateMachine.stateMutator |
| Modifier and Type | Method and Description |
|---|---|
void |
StateRepresentation.addExitAction(Action1<Transition<S,T>> action) |
StateConfiguration<S,T> |
StateConfiguration.onEntry(Action1<Transition<S,T>> entryAction)
Specify an action that will execute when transitioning into the configured state
|
StateConfiguration<S,T> |
StateConfiguration.onEntryFrom(T trigger,
Action1<Transition<S,T>> entryAction)
Specify an action that will execute when transitioning into the configured state
|
<TArg0> StateConfiguration<S,T> |
StateConfiguration.onEntryFrom(TriggerWithParameters1<TArg0,S,T> trigger,
Action1<TArg0> entryAction,
java.lang.Class<TArg0> classe0)
Specify an action that will execute when transitioning into the configured state
|
StateConfiguration<S,T> |
StateConfiguration.onExit(Action1<Transition<S,T>> exitAction)
Specify an action that will execute when transitioning from the configured state
|
| Constructor and Description |
|---|
StateMachine(S initialState,
Func<S> stateAccessor,
Action1<S> stateMutator,
StateMachineConfig<S,T> config)
Construct a state machine with external state storage.
|
Copyright © 2014. All Rights Reserved.