Class SubProcessActivityBehavior
java.lang.Object
org.camunda.bpm.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
org.camunda.bpm.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior
org.camunda.bpm.engine.impl.bpmn.behavior.SubProcessActivityBehavior
- All Implemented Interfaces:
CoreActivityBehavior<ActivityExecution>
,ActivityBehavior
,CompositeActivityBehavior
,SignallableActivityBehavior
- Direct Known Subclasses:
EventSubProcessActivityBehavior
public class SubProcessActivityBehavior
extends AbstractBpmnActivityBehavior
implements CompositeActivityBehavior
Implementation of the BPMN 2.0 subprocess (formally known as 'embedded' subprocess):
a subprocess defined within another process definition.
- Author:
- Joram Barrez
-
Field Summary
Fields inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior
LOG
Fields inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
bpmnActivityBehavior
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
complete
(ActivityExecution scopeExecution) void
concurrentChildExecutionEnded
(ActivityExecution scopeExecution, ActivityExecution endedExecution) Invoked when an execution is ended within the scope of the compositevoid
doLeave
(ActivityExecution execution) Subclasses that call leave() will first pass through this method, before the regularFlowNodeActivityBehavior.leave(ActivityExecution)
is called.void
execute
(ActivityExecution execution) Default behaviour: just leave the activity with no extra functionality.Methods inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior
createCompensateEventSubscription, executeWithErrorPropagation, isCompensationEventSubprocess, signal, signalCompensationDone
Methods inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
leave, leaveIgnoreConditions
-
Constructor Details
-
SubProcessActivityBehavior
public SubProcessActivityBehavior()
-
-
Method Details
-
execute
Description copied from class:FlowNodeActivityBehavior
Default behaviour: just leave the activity with no extra functionality.- Specified by:
execute
in interfaceActivityBehavior
- Specified by:
execute
in interfaceCoreActivityBehavior<ActivityExecution>
- Overrides:
execute
in classFlowNodeActivityBehavior
- Throws:
Exception
-
concurrentChildExecutionEnded
public void concurrentChildExecutionEnded(ActivityExecution scopeExecution, ActivityExecution endedExecution) Description copied from interface:CompositeActivityBehavior
Invoked when an execution is ended within the scope of the composite- Specified by:
concurrentChildExecutionEnded
in interfaceCompositeActivityBehavior
- Parameters:
scopeExecution
- scope execution for the activity which defined the behaviorendedExecution
- the execution which ended
-
complete
- Specified by:
complete
in interfaceCompositeActivityBehavior
-
doLeave
Description copied from class:AbstractBpmnActivityBehavior
Subclasses that call leave() will first pass through this method, before the regularFlowNodeActivityBehavior.leave(ActivityExecution)
is called.- Overrides:
doLeave
in classAbstractBpmnActivityBehavior
-