| Package | Description |
|---|---|
| com.github.oxo42.stateless4j | |
| com.github.oxo42.stateless4j.transitions | |
| com.github.oxo42.stateless4j.triggers |
| Modifier and Type | Method and Description |
|---|---|
StateConfiguration<S,T> |
StateConfiguration.ignoreIf(T trigger,
FuncBoolean guard)
ignore the specified trigger when in the configured state, if the guard returns true
|
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
|
<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
|
<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
|
<TArg0,TArg1,TArg2> |
StateConfiguration.permitDynamicIf(TriggerWithParameters3<TArg0,TArg1,TArg2,S,T> trigger,
Func4<TArg0,TArg1,TArg2,S> destinationStateSelector,
FuncBoolean guard)
Accept the specified trigger and transition to the destination state, calculated dynamically by the supplied
function
|
StateConfiguration<S,T> |
StateConfiguration.permitIf(T trigger,
S destinationState,
FuncBoolean guard)
Accept the specified trigger and transition to the destination state
|
StateConfiguration<S,T> |
StateConfiguration.permitReentryIf(T trigger,
FuncBoolean guard)
Accept the specified trigger, execute exit actions and re-execute entry actions.
|
| Constructor and Description |
|---|
TransitioningTriggerBehaviour(T trigger,
S destination,
FuncBoolean guard) |
| Constructor and Description |
|---|
DynamicTriggerBehaviour(T trigger,
Func2<java.lang.Object[],S> destination,
FuncBoolean guard) |
IgnoredTriggerBehaviour(TTrigger trigger,
FuncBoolean guard) |
TriggerBehaviour(T trigger,
FuncBoolean guard) |
Copyright © 2014. All Rights Reserved.