Support FunctionBehavior for actions

- Fixes #199
This commit is contained in:
Janne Valkealahti
2016-04-17 15:24:40 +01:00
parent 8cbb9c1e37
commit a4a4a28faf
6 changed files with 261 additions and 2 deletions

View File

@@ -51,6 +51,21 @@ public class TransitionData<S, E> {
this(source, target, null, event, null, null, null, null, TransitionKind.EXTERNAL, null);
}
/**
* Instantiates a new transition data.
*
* @param source the source
* @param target the target
* @param event the event
* @param actions the actions
* @param guard the guard
* @param kind the kind
*/
public TransitionData(S source, S target, E event, Collection<Action<S, E>> actions,
Guard<S, E> guard, TransitionKind kind) {
this(source, target, null, event, null, null, actions, guard, TransitionKind.EXTERNAL, null);
}
/**
* Instantiates a new transition data.
*