| Package | Description |
|---|---|
| com.github.oxo42.stateless4j |
| Modifier and Type | Method and Description |
|---|---|
<TArg0> TriggerWithParameters1<TArg0,TState,TTrigger> |
StateMachineConfig.setTriggerParameters(TTrigger trigger,
java.lang.Class<TArg0> classe0)
Specify the arguments that must be supplied when a specific trigger is fired
|
| Modifier and Type | Method and Description |
|---|---|
<TArg0> void |
StateMachine.fire(TriggerWithParameters1<TArg0,S,T> trigger,
TArg0 arg0)
Transition from the current state via the specified trigger.
|
<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
|
<TArg0> StateConfiguration<S,T> |
StateConfiguration.onEntryFrom(TriggerWithParameters1<TArg0,S,T> trigger,
Action2<TArg0,Transition<S,T>> entryAction,
java.lang.Class<TArg0> classe0)
Specify an action that will execute when transitioning into the configured state
|
<TArg0> StateConfiguration<S,T> |
StateConfiguration.permitDynamic(TriggerWithParameters1<TArg0,S,T> trigger,
Func2<TArg0,S> destinationStateSelector)
Accept the specified trigger and transition to the destination state, calculated dynamically by the supplied
function
|
<TArg0> StateConfiguration<S,T> |
StateConfiguration.permitDynamicIf(TriggerWithParameters1<TArg0,S,T> trigger,
Func2<TArg0,S> destinationStateSelector,
FuncBoolean guard)
Accept the specified trigger and transition to the destination state, calculated dynamically by the supplied
function
|
Copyright © 2014. All Rights Reserved.