Author: camunda
Date: 2009-07-30 08:33:46 -0400 (Thu, 30 Jul 2009)
New Revision: 5391
Modified:
jbpm4/trunk/modules/bpmn/src/main/java/org/jbpm/bpmn/flownodes/AbstractTaskBinding.java
Log:
Modified:
jbpm4/trunk/modules/bpmn/src/main/java/org/jbpm/bpmn/flownodes/AbstractTaskBinding.java
===================================================================
---
jbpm4/trunk/modules/bpmn/src/main/java/org/jbpm/bpmn/flownodes/AbstractTaskBinding.java 2009-07-30
12:32:04 UTC (rev 5390)
+++
jbpm4/trunk/modules/bpmn/src/main/java/org/jbpm/bpmn/flownodes/AbstractTaskBinding.java 2009-07-30
12:33:46 UTC (rev 5391)
@@ -1,10 +1,27 @@
package org.jbpm.bpmn.flownodes;
-public abstract class AbstractTaskBinding extends BpmnBinding {
+import org.jbpm.pvm.internal.xml.Parse;
+import org.jbpm.pvm.internal.xml.Parser;
+import org.w3c.dom.Element;
-
- public AbstractTaskBinding(String tag) {
- super(tag);
+/**
+ * The AbstractTask is the task superclass and doesn't define own
+ * Behavior.
+ *
+ * Spec: A Task which is not further specified is called Abstract
+ * Task (this was referred to as the None Task in BPMN 1.2).
+ *
+ * @author bernd.ruecker(a)camunda.com
+ */
+public class AbstractTaskBinding extends BpmnBinding {
+
+ public AbstractTaskBinding(String tagName) {
+ super(tagName);
}
-
+
+ public Object parse(Element element, Parse parse, Parser parser) {
+ return new ManualTaskActivity();
+ }
+
+
}
\ No newline at end of file
Show replies by date