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