public abstract class CallableElementActivityBehavior extends AbstractBpmnActivityBehavior implements SubProcessActivityBehavior
| Modifier and Type | Field and Description |
|---|---|
protected CallableElement |
callableElement |
protected String |
className
The class name of the delegated variable mapping, which should be used.
|
protected Expression |
expression
The expression which identifies the delegation for the variable mapping.
|
protected String[] |
variablesFilter |
LOGbpmnActivityBehavior| Constructor and Description |
|---|
CallableElementActivityBehavior() |
CallableElementActivityBehavior(Expression expression) |
CallableElementActivityBehavior(String className) |
createCompensateEventSubscription, doLeave, executeWithErrorPropagation, isCompensationEventSubprocess, signal, signalCompensationDoneleave, leaveIgnoreConditionsprotected String[] variablesFilter
protected CallableElement callableElement
protected Expression expression
protected String className
public CallableElementActivityBehavior()
public CallableElementActivityBehavior(String className)
public CallableElementActivityBehavior(Expression expression)
protected DelegateVariableMapping getDelegateVariableMapping(Object instance)
protected DelegateVariableMapping resolveDelegation(ActivityExecution execution)
public Object resolveDelegateClass(ActivityExecution execution)
protected Object instantiateDelegateClass(ActivityExecution execution)
public void execute(ActivityExecution execution) throws Exception
FlowNodeActivityBehaviorexecute in interface CoreActivityBehavior<ActivityExecution>execute in interface ActivityBehaviorexecute in class FlowNodeActivityBehaviorExceptionpublic void passOutputVariables(ActivityExecution execution, VariableScope subInstance)
SubProcessActivityBehaviorpassOutputVariables in interface SubProcessActivityBehaviorexecution - execution of the calling process instance to pass the variables tosubInstance - instance of the called element that serves as the variable sourceprotected void invokeVarMappingDelegation(DelegateInvocation delegation)
protected VariableMap filterVariables(VariableMap variables)
public void completed(ActivityExecution execution) throws Exception
SubProcessActivityBehaviorcompleted in interface SubProcessActivityBehaviorExceptionpublic CallableElement getCallableElement()
public void setCallableElement(CallableElement callableElement)
protected String getBusinessKey(ActivityExecution execution)
protected VariableMap getInputVariables(ActivityExecution callingExecution)
protected VariableMap getOutputVariables(VariableScope calledElementScope)
protected VariableMap getOutputVariablesLocal(VariableScope calledElementScope)
protected Integer getVersion(ActivityExecution execution)
protected String getDeploymentId(ActivityExecution execution)
protected BaseCallableElement.CallableElementBinding getBinding()
protected boolean isLatestBinding()
protected boolean isDeploymentBinding()
protected boolean isVersionBinding()
protected abstract void startInstance(ActivityExecution execution, VariableMap variables, String businessKey)
Copyright © 2013–2019 camunda services GmbH. All rights reserved.