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 |
LOG
bpmnActivityBehavior
Constructor and Description |
---|
CallableElementActivityBehavior() |
CallableElementActivityBehavior(Expression expression) |
CallableElementActivityBehavior(String className) |
createCompensateEventSubscription, doLeave, executeWithErrorPropagation, isCompensationEventSubprocess, signal, signalCompensationDone
leave, leaveIgnoreConditions
protected 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
FlowNodeActivityBehavior
execute
in interface CoreActivityBehavior<ActivityExecution>
execute
in interface ActivityBehavior
execute
in class FlowNodeActivityBehavior
Exception
public void passOutputVariables(ActivityExecution execution, VariableScope subInstance)
SubProcessActivityBehavior
passOutputVariables
in interface SubProcessActivityBehavior
execution
- 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
SubProcessActivityBehavior
completed
in interface SubProcessActivityBehavior
Exception
public 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 © 2019. All rights reserved.