Class SubProcessActivityBehavior
java.lang.Object
org.operaton.bpm.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
org.operaton.bpm.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior
org.operaton.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.operaton.bpm.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior
LOGFields inherited from class org.operaton.bpm.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
bpmnActivityBehavior -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcomplete(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.operaton.bpm.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior
createCompensateEventSubscription, executeWithErrorPropagation, isCompensationEventSubprocess, signal, signalCompensationDoneMethods inherited from class org.operaton.bpm.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
leave, leaveIgnoreConditions
-
Constructor Details
-
SubProcessActivityBehavior
public SubProcessActivityBehavior()
-
-
Method Details
-
execute
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
- Specified by:
completein interfaceCompositeActivityBehavior
-
doLeave
Description copied from class:AbstractBpmnActivityBehaviorSubclasses that call leave() will first pass through this method, before the regularFlowNodeActivityBehavior.leave(ActivityExecution)is called.- Overrides:
doLeavein classAbstractBpmnActivityBehavior
-