org.camunda.bpm.engine.impl.bpmn.behavior
Class SubProcessActivityBehavior

java.lang.Object
  extended by org.camunda.bpm.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
      extended by org.camunda.bpm.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior
          extended by org.camunda.bpm.engine.impl.bpmn.behavior.SubProcessActivityBehavior
All Implemented Interfaces:
CoreActivityBehavior<ActivityExecution>, ActivityBehavior, CompositeActivityBehavior, SignallableActivityBehavior
Direct Known Subclasses:
EventSubProcessActivityBehavior, TransactionActivityBehavior

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

Nested Class Summary
 
Nested classes/interfaces inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior
AbstractBpmnActivityBehavior.ErrorDeclarationForProcessInstanceFinder, AbstractBpmnActivityBehavior.ErrorPropagationException
 
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
SubProcessActivityBehavior()
           
 
Method Summary
 void complete(ActivityExecution scopeExecution)
           
 void concurrentChildExecutionEnded(ActivityExecution scopeExecution, ActivityExecution endedExecution)
          Invoked when an execution is ended within the scope of the composite
 void execute(ActivityExecution execution)
          Default behaviour: just leave the activity with no extra functionality.
 void leave(ActivityExecution execution)
          Subclasses that call leave() will first pass through this method, before the regular FlowNodeActivityBehavior.leave(ActivityExecution) is called.
 
Methods inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior
checkIfCauseOfExceptionIsBpmnError, createCompensateEventSubscription, executeWithErrorPropagation, isCompensationEventSubprocess, isProcessEngineExceptionWithoutCause, isTransactionNotActive, propagateBpmnError, propagateError, propagateException, propagateExceptionAsError, signal, signalCompensationDone
 
Methods inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
leaveIgnoreConditions
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SubProcessActivityBehavior

public SubProcessActivityBehavior()
Method Detail

execute

public void execute(ActivityExecution execution)
             throws Exception
Description copied from class: FlowNodeActivityBehavior
Default behaviour: just leave the activity with no extra functionality.

Specified by:
execute in interface CoreActivityBehavior<ActivityExecution>
Specified by:
execute in interface ActivityBehavior
Overrides:
execute in class FlowNodeActivityBehavior
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 interface CompositeActivityBehavior
Parameters:
scopeExecution - scope execution for the activity which defined the behavior
endedExecution - the execution which ended

complete

public void complete(ActivityExecution scopeExecution)
Specified by:
complete in interface CompositeActivityBehavior

leave

public void leave(ActivityExecution execution)
Description copied from class: AbstractBpmnActivityBehavior
Subclasses that call leave() will first pass through this method, before the regular FlowNodeActivityBehavior.leave(ActivityExecution) is called.

Overrides:
leave in class AbstractBpmnActivityBehavior


Copyright © 2015 camunda services GmbH. All rights reserved.