Add support for timers in uml

- Can now use timers based on TimeEvent, TimeExpression
  and LiteralInteger.
- Fixes #207
This commit is contained in:
Janne Valkealahti
2016-04-23 09:46:37 +01:00
parent 149d9e17b3
commit debc50cb56
6 changed files with 345 additions and 1 deletions

View File

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