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 voidcomplete(ActivityExecution scopeExecution)voidconcurrentChildExecutionEnded(ActivityExecution scopeExecution, ActivityExecution endedExecution)Invoked when an execution is ended within the scope of the compositevoiddoLeave(ActivityExecution execution)Subclasses that call leave() will first pass through this method, before the regularFlowNodeActivityBehavior.leave(ActivityExecution)is called.voidexecute(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 Exception
Description copied from class:FlowNodeActivityBehaviorDefault behaviour: just leave the activity with no extra functionality.- Specified by:
executein interfaceActivityBehavior- Specified by:
executein interfaceCoreActivityBehavior<ActivityExecution>- Overrides:
executein classFlowNodeActivityBehavior- Throws:
Exception
-
concurrentChildExecutionEnded
public void concurrentChildExecutionEnded(ActivityExecution scopeExecution, ActivityExecution endedExecution)
Description copied from interface:CompositeActivityBehaviorInvoked when an execution is ended within the scope of the composite- Specified by:
concurrentChildExecutionEndedin interfaceCompositeActivityBehavior- Parameters:
scopeExecution- scope execution for the activity which defined the behaviorendedExecution- the execution which ended
-
complete
public void complete(ActivityExecution scopeExecution)
- Specified by:
completein interfaceCompositeActivityBehavior
-
doLeave
public void doLeave(ActivityExecution execution)
Description copied from class:AbstractBpmnActivityBehaviorSubclasses that call leave() will first pass through this method, before the regularFlowNodeActivityBehavior.leave(ActivityExecution)is called.- Overrides:
doLeavein classAbstractBpmnActivityBehavior
-
-