public abstract class CallableElementActivityBehavior extends AbstractBpmnActivityBehavior implements SubProcessActivityBehavior
AbstractBpmnActivityBehavior.ErrorDeclarationFinder, AbstractBpmnActivityBehavior.ErrorDeclarationForProcessInstanceFinder, AbstractBpmnActivityBehavior.LeafExecutionHierarchyWalker, AbstractBpmnActivityBehavior.ProcessInstanceCollector
Modifier and Type | Field and Description |
---|---|
protected CallableElement |
callableElement |
bpmnActivityBehavior
Constructor and Description |
---|
CallableElementActivityBehavior() |
Modifier and Type | Method and Description |
---|---|
void |
completed(ActivityExecution execution)
called after the process instance is destroyed for
this activity to perform its outgoing control flow logic.
|
void |
completing(VariableScope execution,
VariableScope subInstance)
called before the process instance is destroyed to allow
this activity to extract data from the sub process instance.
|
void |
execute(ActivityExecution execution)
Default behaviour: just leave the activity with no extra functionality.
|
protected CallableElement.CallableElementBinding |
getBinding() |
protected String |
getBusinessKey(ActivityExecution execution) |
CallableElement |
getCallableElement() |
protected String |
getDeploymentId(ActivityExecution execution) |
protected VariableMap |
getInputVariables(ActivityExecution execution) |
protected VariableMap |
getOutputVariables(VariableScope variableScope) |
protected Integer |
getVersion(ActivityExecution execution) |
protected boolean |
isDeploymentBinding() |
protected boolean |
isLatestBinding() |
protected boolean |
isVersionBinding() |
void |
setCallableElement(CallableElement callableElement) |
protected abstract void |
startInstance(ActivityExecution execution,
VariableMap variables,
String businessKey) |
checkIfCauseOfExceptionIsBpmnError, createCompensateEventSubscription, executeWithErrorPropagation, getCompensationHandler, getCurrentFlowScope, isProcessEngineExceptionWithoutCause, isTransactionNotActive, leave, propagateBpmnError, propagateError, propagateException, propagateExceptionAsError, signal, signalCompensationDone
leaveIgnoreConditions
protected CallableElement callableElement
public void execute(ActivityExecution execution) throws Exception
FlowNodeActivityBehavior
execute
in interface CoreActivityBehavior<ActivityExecution>
execute
in interface ActivityBehavior
execute
in class FlowNodeActivityBehavior
Exception
public void completing(VariableScope execution, VariableScope subInstance) throws Exception
SubProcessActivityBehavior
completing
in interface SubProcessActivityBehavior
Exception
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 execution)
protected VariableMap getOutputVariables(VariableScope variableScope)
protected Integer getVersion(ActivityExecution execution)
protected String getDeploymentId(ActivityExecution execution)
protected CallableElement.CallableElementBinding getBinding()
protected boolean isLatestBinding()
protected boolean isDeploymentBinding()
protected boolean isVersionBinding()
protected abstract void startInstance(ActivityExecution execution, VariableMap variables, String businessKey)
Copyright © 2018. All rights reserved.