Class FlowNodeActivityBehavior
- java.lang.Object
-
- org.activiti.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
-
- All Implemented Interfaces:
java.io.Serializable,ActivityBehavior,TriggerableActivityBehavior
- Direct Known Subclasses:
AbstractBpmnActivityBehavior,AbstractThrowMessageEventActivityBehavior,BoundaryEventActivityBehavior,CancelEndEventActivityBehavior,ErrorEndEventActivityBehavior,EventBasedGatewayActivityBehavior,GatewayActivityBehavior,IntermediateThrowCompensationEventActivityBehavior,IntermediateThrowNoneEventActivityBehavior,MultiInstanceActivityBehavior,NoneEndEventActivityBehavior,NoneStartEventActivityBehavior,TerminateEndEventActivityBehavior
public abstract class FlowNodeActivityBehavior extends java.lang.Object implements TriggerableActivityBehavior
Superclass for all 'connectable' BPMN 2.0 process elements: tasks, gateways and events. This means that any subclass can be the source or target of a sequenceflow. Corresponds with the notion of the 'flownode' in BPMN 2.0.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected BpmnActivityBehaviorbpmnActivityBehavior
-
Constructor Summary
Constructors Constructor Description FlowNodeActivityBehavior()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute(DelegateExecution execution)Default behaviour: just leave the activity with no extra functionality.voidleave(DelegateExecution execution)Default way of leaving a BPMN 2.0 activity: evaluate the conditions on the outgoing sequence flow and take those that evaluate to true.voidleaveIgnoreConditions(DelegateExecution execution)protected java.lang.StringparseActivityType(org.activiti.bpmn.model.FlowNode flowNode)voidtrigger(DelegateExecution execution, java.lang.String signalName, java.lang.Object signalData)
-
-
-
Field Detail
-
bpmnActivityBehavior
protected BpmnActivityBehavior bpmnActivityBehavior
-
-
Method Detail
-
execute
public void execute(DelegateExecution execution)
Default behaviour: just leave the activity with no extra functionality.- Specified by:
executein interfaceActivityBehavior
-
leave
public void leave(DelegateExecution execution)
Default way of leaving a BPMN 2.0 activity: evaluate the conditions on the outgoing sequence flow and take those that evaluate to true.
-
leaveIgnoreConditions
public void leaveIgnoreConditions(DelegateExecution execution)
-
trigger
public void trigger(DelegateExecution execution, java.lang.String signalName, java.lang.Object signalData)
- Specified by:
triggerin interfaceTriggerableActivityBehavior
-
parseActivityType
protected java.lang.String parseActivityType(org.activiti.bpmn.model.FlowNode flowNode)
-
-