Author: jbarrez
Date: 2010-01-25 03:56:26 -0500 (Mon, 25 Jan 2010)
New Revision: 6125
Modified:
jbpm4/trunk/modules/pvm/src/main/java/org/jbpm/pvm/internal/model/ScopeElementImpl.java
Log:
Work om timer start event
Modified:
jbpm4/trunk/modules/pvm/src/main/java/org/jbpm/pvm/internal/model/ScopeElementImpl.java
===================================================================
---
jbpm4/trunk/modules/pvm/src/main/java/org/jbpm/pvm/internal/model/ScopeElementImpl.java 2010-01-25
08:55:30 UTC (rev 6124)
+++
jbpm4/trunk/modules/pvm/src/main/java/org/jbpm/pvm/internal/model/ScopeElementImpl.java 2010-01-25
08:56:26 UTC (rev 6125)
@@ -75,9 +75,20 @@
return timerDefinitions;
}
+ /**
+ * Creates an empty {@link TimerDefinitionImpl} and associates it with this scope
element.
+ */
public TimerDefinitionImpl createTimerDefinition() {
TimerDefinitionImpl timerDefinition = new TimerDefinitionImpl();
timerDefinitions.add(timerDefinition);
return timerDefinition;
}
+
+ /**
+ * Associates the given timer definition with this scope element.
+ */
+ public void addTimerDefinition(TimerDefinitionImpl timerDefinition) {
+ timerDefinitions.add(timerDefinition);
+ }
+
}
Show replies by date