T - the type of object that is used within the workflowpublic class TransitionDefinition<T> extends Object
| Constructor and Description |
|---|
TransitionDefinition(State<T> source,
State<T> target,
Action<T>... actions)
Constructor for TransitionDefinition.
|
TransitionDefinition(State<T> source,
State<T> target,
List<? extends Action<T>> actions)
Creates a new transition definition between the given source and target
|
| Modifier and Type | Method and Description |
|---|---|
List<? extends Action<T>> |
getActions()
Returns the actions
|
Action<T> |
getFirstAction()
Deprecated.
|
State<T> |
getSource()
Getter for the field
source. |
State<T> |
getTarget()
Getter for the field
target. |
public TransitionDefinition(@Nonnull State<T> source, @Nonnull State<T> target, @Nonnull Action<T>... actions)
Constructor for TransitionDefinition.
source - a State object.target - a State object.actions - a Action object.@Nonnull public State<T> getSource()
Getter for the field source.
@Nonnull public State<T> getTarget()
Getter for the field target.
@Nonnull public List<? extends Action<T>> getActions()
@Deprecated @Nonnull public Action<T> getFirstAction()
getFirstAction
Copyright © 2007–2017 cedarsoft GmbH. All rights reserved.