public class State<T> extends Object
| Modifier and Type | Method and Description |
|---|---|
TransitionDefinition<T> |
createTransition(State<T> targetState,
Action<T>... actions)
createTransition
|
TransitionDefinition<T> |
createTransition(State<T> targetState,
List<? extends Action<T>> actions)
Creates a new transition definition for the given target state and action
|
String |
getId()
Returns the id
|
List<? extends TransitionDefinition<T>> |
getTransitions()
Returns the transitions for this state
|
@Nonnull public TransitionDefinition<T> createTransition(@Nonnull State<T> targetState, @Nonnull List<? extends Action<T>> actions)
targetState - the target stateactions - the actions@Nonnull public TransitionDefinition<T> createTransition(@Nonnull State<T> targetState, @Nonnull Action<T>... actions)
createTransition
targetState - a State object.actions - a Action object.@Nonnull public List<? extends TransitionDefinition<T>> getTransitions()
Copyright © 2007–2017 cedarsoft GmbH. All rights reserved.