Class FlowNodeActivityBehavior
- java.lang.Object
-
- org.camunda.bpm.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
-
- All Implemented Interfaces:
CoreActivityBehavior<ActivityExecution>
,ActivityBehavior
,SignallableActivityBehavior
- Direct Known Subclasses:
AbstractBpmnActivityBehavior
,BoundaryEventActivityBehavior
,CompensationEventActivityBehavior
,EventBasedGatewayActivityBehavior
,GatewayActivityBehavior
,IntermediateThrowNoneEventActivityBehavior
,NoneEndEventActivityBehavior
,NoneStartEventActivityBehavior
,TerminateEndEventActivityBehavior
public abstract class FlowNodeActivityBehavior extends java.lang.Object implements SignallableActivityBehavior
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.- Author:
- Joram Barrez
-
-
Field Summary
Fields Modifier and Type Field Description protected BpmnActivityBehavior
bpmnActivityBehavior
protected static BpmnBehaviorLogger
LOG
-
Constructor Summary
Constructors Constructor Description FlowNodeActivityBehavior()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
doLeave(ActivityExecution execution)
void
execute(ActivityExecution execution)
Default behaviour: just leave the activity with no extra functionality.void
leave(ActivityExecution 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.protected void
leaveIgnoreConditions(ActivityExecution activityContext)
void
signal(ActivityExecution execution, java.lang.String signalName, java.lang.Object signalData)
-
-
-
Field Detail
-
LOG
protected static final BpmnBehaviorLogger LOG
-
bpmnActivityBehavior
protected BpmnActivityBehavior bpmnActivityBehavior
-
-
Method Detail
-
execute
public void execute(ActivityExecution execution) throws java.lang.Exception
Default behaviour: just leave the activity with no extra functionality.- Specified by:
execute
in interfaceActivityBehavior
- Specified by:
execute
in interfaceCoreActivityBehavior<ActivityExecution>
- Throws:
java.lang.Exception
-
leave
public void leave(ActivityExecution 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.
-
doLeave
public void doLeave(ActivityExecution execution)
-
leaveIgnoreConditions
protected void leaveIgnoreConditions(ActivityExecution activityContext)
-
signal
public void signal(ActivityExecution execution, java.lang.String signalName, java.lang.Object signalData) throws java.lang.Exception
- Specified by:
signal
in interfaceSignallableActivityBehavior
- Throws:
java.lang.Exception
-
-