| Package | Description |
|---|---|
| com.github.oxo42.stateless4j | |
| com.github.oxo42.stateless4j.triggers |
| Modifier and Type | Method and Description |
|---|---|
<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
|
| Constructor and Description |
|---|
StateConfiguration(StateRepresentation<S,T> representation,
Func2<S,StateRepresentation<S,T>> lookup) |
| Constructor and Description |
|---|
DynamicTriggerBehaviour(T trigger,
Func2<java.lang.Object[],S> destination,
FuncBoolean guard) |
Copyright © 2014. All Rights Reserved.