| Package | Description |
|---|---|
| com.github.oxo42.stateless4j |
| Modifier and Type | Field and Description |
|---|---|
protected Action2<S,T> |
StateMachine.unhandledTriggerAction |
| Modifier and Type | Method and Description |
|---|---|
void |
StateRepresentation.addEntryAction(Action2<Transition<S,T>,java.lang.Object[]> action) |
void |
StateRepresentation.addEntryAction(T trigger,
Action2<Transition<S,T>,java.lang.Object[]> action) |
void |
StateRepresentation.insertEntryAction(Action2<Transition<S,T>,java.lang.Object[]> action) |
<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,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
|
void |
StateMachine.onUnhandledTrigger(Action2<S,T> unhandledTriggerAction)
Override the default behaviour of throwing an exception when an unhandled trigger is fired
|
Copyright © 2014. All Rights Reserved.