public class DeterministicTransitionImpl<T> extends Object implements Transition<T>
Constructor and Description |
---|
DeterministicTransitionImpl(State<T> to) |
DeterministicTransitionImpl(State<T> to,
Action<T> action) |
DeterministicTransitionImpl(State<T> from,
State<T> to,
String event) |
DeterministicTransitionImpl(State<T> from,
State<T> to,
String event,
Action<T> action) |
Modifier and Type | Method and Description |
---|---|
StateActionPair<T> |
getStateActionPair(T stateful,
String event,
Object... args)
Return the
StateActionPair |
void |
setStateActionPair(StateActionPair<T> stateActionPair) |
String |
toString() |
public DeterministicTransitionImpl(State<T> from, State<T> to, String event)
public DeterministicTransitionImpl(State<T> from, State<T> to, String event, Action<T> action)
public StateActionPair<T> getStateActionPair(T stateful, String event, Object... args)
Transition
StateActionPair
getStateActionPair
in interface Transition<T>
stateful
- the Stateful Entityevent
- The occurring Eventargs
- Optional parameters that was passed into the FSMStateActionPair
public void setStateActionPair(StateActionPair<T> stateActionPair)
Copyright © 2016. All rights reserved.