org.camunda.bpm.engine.impl.bpmn.behavior
Class AbstractBpmnActivityBehavior
java.lang.Object
org.camunda.bpm.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
org.camunda.bpm.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior
- All Implemented Interfaces:
- CoreActivityBehavior<ActivityExecution>, ActivityBehavior, SignallableActivityBehavior
- Direct Known Subclasses:
- CallableElementActivityBehavior, CancelEndEventActivityBehavior, ClassDelegateActivityBehavior, ErrorEndEventActivityBehavior, IntermediateCatchEventActivityBehavior, IntermediateThrowSignalEventActivityBehavior, MailActivityBehavior, ShellActivityBehavior, SubProcessActivityBehavior, TaskActivityBehavior
public class AbstractBpmnActivityBehavior
- extends FlowNodeActivityBehavior
Denotes an 'activity' in the sense of BPMN 2.0:
a parent class for all tasks, subprocess and callActivity.
- Author:
- Joram Barrez, Daniel Meyer, Thorben Lindhauer
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractBpmnActivityBehavior
public AbstractBpmnActivityBehavior()
leave
protected void leave(ActivityExecution execution)
- Subclasses that call leave() will first pass through this method, before
the regular
FlowNodeActivityBehavior.leave(ActivityExecution) is
called.
- Overrides:
leave in class FlowNodeActivityBehavior
getCompensationHandler
protected ActivityImpl getCompensationHandler(PvmActivity activity)
createCompensateEventSubscription
protected void createCompensateEventSubscription(ActivityExecution execution,
ActivityImpl compensationHandler)
propagateExceptionAsError
protected void propagateExceptionAsError(Exception exception,
ActivityExecution execution)
throws Exception
- Throws:
Exception
isTransactionNotActive
protected boolean isTransactionNotActive()
isProcessEngineExceptionWithoutCause
protected boolean isProcessEngineExceptionWithoutCause(Exception exception)
propagateBpmnError
protected void propagateBpmnError(BpmnError error,
ActivityExecution execution)
throws Exception
- Throws:
Exception
propagateError
protected void propagateError(String errorCode,
Exception origException,
ActivityExecution execution)
throws Exception
- Throws:
Exception
getCurrentFlowScope
protected static ScopeImpl getCurrentFlowScope(ActivityExecution execution)
- Assumption: execution is executing a transition or an activity.
- Returns:
- the scope for the transition or activity the execution is currently executing
signal
public void signal(ActivityExecution execution,
String signalName,
Object signalData)
throws Exception
- Specified by:
signal in interface SignallableActivityBehavior- Overrides:
signal in class FlowNodeActivityBehavior
- Throws:
Exception
signalCompensationDone
protected void signalCompensationDone(ActivityExecution execution,
Object signalData)
Copyright © 2015 camunda services GmbH. All rights reserved.