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
Constructors Constructor Description SubProcessActivityBehavior()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
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
-
-
-
-
Method Detail
-
execute
public void execute(ActivityExecution execution) throws java.lang.Exception
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:
java.lang.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
public void complete(ActivityExecution scopeExecution)
- Specified by:
complete
in interfaceCompositeActivityBehavior
-
doLeave
public void doLeave(ActivityExecution execution)
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
-
-