| Package | Description |
|---|---|
| com.github.oxo42.stateless4j |
| Modifier and Type | Field and Description |
|---|---|
protected Func<S> |
StateMachine.stateAccessor |
| Modifier and Type | Method and Description |
|---|---|
StateConfiguration<S,T> |
StateConfiguration.permitDynamic(T trigger,
Func<S> destinationStateSelector)
Accept the specified trigger and transition to the destination state, calculated dynamically by the supplied
function
|
StateConfiguration<S,T> |
StateConfiguration.permitDynamicIf(T trigger,
Func<S> destinationStateSelector,
FuncBoolean guard)
Accept the specified trigger and transition to the destination state, calculated dynamically by the supplied
function
|
| 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.