Class CallableElementActivityBehavior
java.lang.Object
org.operaton.bpm.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
org.operaton.bpm.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior
org.operaton.bpm.engine.impl.bpmn.behavior.CallableElementActivityBehavior
- All Implemented Interfaces:
CoreActivityBehavior<ActivityExecution>,ActivityBehavior,SignallableActivityBehavior,SubProcessActivityBehavior
- Direct Known Subclasses:
CallActivityBehavior,CaseCallActivityBehavior
public abstract class CallableElementActivityBehavior
extends AbstractBpmnActivityBehavior
implements SubProcessActivityBehavior
- Author:
- Roman Smirnov
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected CallableElementprotected StringThe class name of the delegated variable mapping, which should be used.protected ExpressionThe expression which identifies the delegation for the variable mapping.protected String[]Fields inherited from class org.operaton.bpm.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior
LOGFields inherited from class org.operaton.bpm.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
bpmnActivityBehavior -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedprotectedCallableElementActivityBehavior(String className) protectedCallableElementActivityBehavior(Expression expression) -
Method Summary
Modifier and TypeMethodDescriptionvoidcompleted(ActivityExecution execution) Called after the process instance is destroyed for this activity to perform its outgoing control flow logic.voidexecute(ActivityExecution execution) Default behaviour: just leave the activity with no extra functionality.protected VariableMapfilterVariables(VariableMap variables) protected StringgetBusinessKey(ActivityExecution execution) protected DelegateVariableMappinggetDelegateVariableMapping(Object instance) protected StringgetDeploymentId(ActivityExecution execution) protected VariableMapgetInputVariables(ActivityExecution callingExecution) protected VariableMapgetOutputVariables(VariableScope calledElementScope) protected VariableMapgetOutputVariablesLocal(VariableScope calledElementScope) protected IntegergetVersion(ActivityExecution execution) protected ObjectinstantiateDelegateClass(ActivityExecution execution) protected voidinvokeVarMappingDelegation(DelegateInvocation delegation) protected booleanprotected booleanprotected booleanvoidpassOutputVariables(ActivityExecution execution, VariableScope subInstance) Pass the output variables from the process instance of the subprocess to the given execution.resolveDelegateClass(ActivityExecution execution) protected DelegateVariableMappingresolveDelegation(ActivityExecution execution) voidsetCallableElement(CallableElement callableElement) protected abstract voidstartInstance(ActivityExecution execution, VariableMap variables, String businessKey) Methods inherited from class org.operaton.bpm.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior
createCompensateEventSubscription, doLeave, executeWithErrorPropagation, isCompensationEventSubprocess, signal, signalCompensationDoneMethods inherited from class org.operaton.bpm.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
leave, leaveIgnoreConditions
-
Field Details
-
variablesFilter
-
callableElement
-
expression
The expression which identifies the delegation for the variable mapping. -
className
The class name of the delegated variable mapping, which should be used.
-
-
Constructor Details
-
CallableElementActivityBehavior
protected CallableElementActivityBehavior() -
CallableElementActivityBehavior
-
CallableElementActivityBehavior
-
-
Method Details
-
getDelegateVariableMapping
-
resolveDelegation
-
resolveDelegateClass
-
instantiateDelegateClass
-
execute
Description copied from class:FlowNodeActivityBehaviorDefault behaviour: just leave the activity with no extra functionality.- Specified by:
executein interfaceActivityBehavior- Specified by:
executein interfaceCoreActivityBehavior<ActivityExecution>- Overrides:
executein classFlowNodeActivityBehavior- Throws:
Exception
-
passOutputVariables
Description copied from interface:SubProcessActivityBehaviorPass the output variables from the process instance of the subprocess to the given execution. This should be called before the process instance is destroyed.- Specified by:
passOutputVariablesin interfaceSubProcessActivityBehavior- Parameters:
execution- execution of the calling process instance to pass the variables tosubInstance- instance of the called element that serves as the variable source
-
invokeVarMappingDelegation
-
filterVariables
-
completed
Description copied from interface:SubProcessActivityBehaviorCalled after the process instance is destroyed for this activity to perform its outgoing control flow logic.- Specified by:
completedin interfaceSubProcessActivityBehavior- Parameters:
execution-- Throws:
Exception
-
getCallableElement
-
setCallableElement
-
getBusinessKey
-
getInputVariables
-
getOutputVariables
-
getOutputVariablesLocal
-
getVersion
-
getDeploymentId
-
getBinding
-
isLatestBinding
protected boolean isLatestBinding() -
isDeploymentBinding
protected boolean isDeploymentBinding() -
isVersionBinding
protected boolean isVersionBinding() -
startInstance
protected abstract void startInstance(ActivityExecution execution, VariableMap variables, String businessKey)
-