public class ActionBuilder<S,E>
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
ActionBuilder<S,E> |
execute(Action<S,E> action)
Add
action to the list of TransitionActions to be executed. |
ActionBuilder<S,E> |
executeFirst(Action<S,E> action)
Add
action to the beginning of the list of TransitionActions to be executed. |
ActionBuilder<S,E> |
executeLast(Action<S,E> action)
Add
action to the end of the list of TransitionActions to be executed. |
public ActionBuilder<S,E> execute(Action<S,E> action)
action to the list of TransitionActions to be executed.
Actions are executed in the order they appear in the list.
action - the action to execute.ActionBuilder.public ActionBuilder<S,E> executeLast(Action<S,E> action)
action to the end of the list of TransitionActions to be executed.
Actions are executed in the order they appear in the list.
action - the action to execute.ActionBuilder.public ActionBuilder<S,E> executeFirst(Action<S,E> action)
action to the beginning of the list of TransitionActions to be executed.
Actions are executed in the order they appear in the list.
action - the action to execute.ActionBuilder.