T
- Type of the Stateful Entitypublic static class FSM.FSMBuilder.StateBuilder.TransitionBuilder<T> extends Object
Modifier and Type | Method and Description |
---|---|
FSM.FSMBuilder.StateBuilder<T> |
done()
Completes the setup for this Transition Builder
|
FSM.FSMBuilder.StateBuilder.TransitionBuilder<T> |
setAction(Action<T> action)
Set the Action for this Transition
|
FSM.FSMBuilder.StateBuilder.TransitionBuilder<T> |
setToState(State<T> toState)
Set the "To" State to the specified State.
|
FSM.FSMBuilder.StateBuilder.TransitionBuilder<T> |
setToState(String toStateName)
Set the "To" State using the specified State Name
|
public FSM.FSMBuilder.StateBuilder.TransitionBuilder<T> setToState(String toStateName)
toStateName
- Name of the Statepublic FSM.FSMBuilder.StateBuilder.TransitionBuilder<T> setToState(State<T> toState)
toState
- To State objectpublic FSM.FSMBuilder.StateBuilder.TransitionBuilder<T> setAction(Action<T> action)
action
- public FSM.FSMBuilder.StateBuilder<T> done()
Copyright © 2016. All rights reserved.