Uses of Interface
org.camunda.bpm.engine.impl.pvm.delegate.ActivityExecution
Package
Description
-
Uses of ActivityExecution in org.camunda.bpm.engine.impl.bpmn.behavior
Modifier and TypeMethodDescriptionprotected ActivityExecution
ParallelMultiInstanceActivityBehavior.createConcurrentExecution
(ActivityExecution scopeExecution) ParallelMultiInstanceActivityBehavior.createInnerInstance
(ActivityExecution scopeExecution) SequentialMultiInstanceActivityBehavior.createInnerInstance
(ActivityExecution scopeExecution) Modifier and TypeMethodDescriptionprotected Collection<ActivityExecution>
InclusiveGatewayActivityBehavior.getLeafExecutions
(ActivityExecution parent) ParallelMultiInstanceActivityBehavior.initializeScope
(ActivityExecution scopeExecution, int numberOfInstances) SequentialMultiInstanceActivityBehavior.initializeScope
(ActivityExecution scopeExecution, int nrOfInstances) Modifier and TypeMethodDescriptionprotected boolean
InclusiveGatewayActivityBehavior.activatesGateway
(ActivityExecution execution, PvmActivity gatewayActivity) protected boolean
ParallelMultiInstanceActivityBehavior.allExecutionsEnded
(ActivityExecution scopeExecution, ActivityExecution endedExecution) protected boolean
InclusiveGatewayActivityBehavior.canReachActivity
(ActivityExecution execution, PvmActivity activity) protected List<EventSubscriptionEntity>
CompensationEventActivityBehavior.collectEventSubscriptions
(ActivityExecution execution) void
EventSubProcessActivityBehavior.complete
(ActivityExecution scopeExecution) void
ParallelMultiInstanceActivityBehavior.complete
(ActivityExecution scopeExecution) void
SequentialMultiInstanceActivityBehavior.complete
(ActivityExecution scopeExecution) void
SubProcessActivityBehavior.complete
(ActivityExecution scopeExecution) void
CallableElementActivityBehavior.completed
(ActivityExecution execution) protected boolean
MultiInstanceActivityBehavior.completionConditionSatisfied
(ActivityExecution execution) void
EventSubProcessActivityBehavior.concurrentChildExecutionEnded
(ActivityExecution scopeExecution, ActivityExecution endedExecution) void
ParallelMultiInstanceActivityBehavior.concurrentChildExecutionEnded
(ActivityExecution scopeExecution, ActivityExecution endedExecution) void
SequentialMultiInstanceActivityBehavior.concurrentChildExecutionEnded
(ActivityExecution scopeExecution, ActivityExecution endedExecution) void
SubProcessActivityBehavior.concurrentChildExecutionEnded
(ActivityExecution scopeExecution, ActivityExecution endedExecution) protected void
AbstractBpmnActivityBehavior.createCompensateEventSubscription
(ActivityExecution execution, ActivityImpl compensationHandler) protected ActivityExecution
ParallelMultiInstanceActivityBehavior.createConcurrentExecution
(ActivityExecution scopeExecution) ParallelMultiInstanceActivityBehavior.createInnerInstance
(ActivityExecution scopeExecution) SequentialMultiInstanceActivityBehavior.createInnerInstance
(ActivityExecution scopeExecution) protected abstract void
MultiInstanceActivityBehavior.createInstances
(ActivityExecution execution, int nrOfInstances) protected void
ParallelMultiInstanceActivityBehavior.createInstances
(ActivityExecution execution, int nrOfInstances) protected void
SequentialMultiInstanceActivityBehavior.createInstances
(ActivityExecution execution, int nrOfInstances) void
ParallelMultiInstanceActivityBehavior.destroyInnerInstance
(ActivityExecution concurrentExecution) void
SequentialMultiInstanceActivityBehavior.destroyInnerInstance
(ActivityExecution scopeExecution) void
AbstractBpmnActivityBehavior.doLeave
(ActivityExecution execution) Subclasses that call leave() will first pass through this method, before the regularFlowNodeActivityBehavior.leave(ActivityExecution)
is called.void
CancelEndEventActivityBehavior.doLeave
(ActivityExecution execution) void
ExclusiveGatewayActivityBehavior.doLeave
(ActivityExecution execution) The default behaviour of BPMN, taking every outgoing sequence flow (where the condition evaluates to true), is not valid for an exclusive gateway.void
FlowNodeActivityBehavior.doLeave
(ActivityExecution execution) void
MultiInstanceActivityBehavior.doLeave
(ActivityExecution execution) void
SubProcessActivityBehavior.doLeave
(ActivityExecution execution) protected void
ClassDelegateActivityBehavior.doSignal
(ActivityExecution execution, String signalName, Object signalData) void
ServiceTaskDelegateExpressionActivityBehavior.doSignal
(ActivityExecution execution, String signalName, Object signalData) protected void
MultiInstanceActivityBehavior.evaluateCollectionVariable
(ActivityExecution execution, int loopCounter) void
CallableElementActivityBehavior.execute
(ActivityExecution execution) void
CancelEndEventActivityBehavior.execute
(ActivityExecution execution) void
ClassDelegateActivityBehavior.execute
(ActivityExecution execution) void
CompensationEventActivityBehavior.execute
(ActivityExecution execution) void
CustomActivityBehavior.execute
(ActivityExecution execution) void
DmnBusinessRuleTaskActivityBehavior.execute
(ActivityExecution execution) void
ErrorEndEventActivityBehavior.execute
(ActivityExecution execution) void
EventBasedGatewayActivityBehavior.execute
(ActivityExecution execution) void
ExternalTaskActivityBehavior.execute
(ActivityExecution execution) void
FlowNodeActivityBehavior.execute
(ActivityExecution execution) Default behaviour: just leave the activity with no extra functionality.void
InclusiveGatewayActivityBehavior.execute
(ActivityExecution execution) void
IntermediateCatchEventActivityBehavior.execute
(ActivityExecution execution) void
IntermediateCatchLinkEventActivityBehavior.execute
(ActivityExecution execution) void
IntermediateConditionalEventBehavior.execute
(ActivityExecution execution) void
MailActivityBehavior.execute
(ActivityExecution execution) void
MultiInstanceActivityBehavior.execute
(ActivityExecution execution) void
NoneEndEventActivityBehavior.execute
(ActivityExecution execution) void
ParallelGatewayActivityBehavior.execute
(ActivityExecution execution) void
ShellActivityBehavior.execute
(ActivityExecution execution) void
SubProcessActivityBehavior.execute
(ActivityExecution execution) void
TaskActivityBehavior.execute
(ActivityExecution execution) void
TerminateEndEventActivityBehavior.execute
(ActivityExecution execution) void
ThrowEscalationEventActivityBehavior.execute
(ActivityExecution execution) void
ThrowSignalEventActivityBehavior.execute
(ActivityExecution execution) protected void
AbstractBpmnActivityBehavior.executeWithErrorPropagation
(ActivityExecution execution, Callable<Void> toExecute) Takes anActivityExecution
and anCallable
and wraps the call to the Callable with the proper error propagation.protected ActivityBehavior
ClassDelegateActivityBehavior.getActivityBehaviorInstance
(ActivityExecution execution) protected ActivityBehavior
ServiceTaskDelegateExpressionActivityBehavior.getActivityBehaviorInstance
(ActivityExecution execution, Object delegateInstance) protected String
CallableElementActivityBehavior.getBusinessKey
(ActivityExecution execution) protected String
CallableElementActivityBehavior.getDeploymentId
(ActivityExecution execution) protected VariableMap
CallableElementActivityBehavior.getInputVariables
(ActivityExecution callingExecution) protected Collection<ActivityExecution>
InclusiveGatewayActivityBehavior.getLeafExecutions
(ActivityExecution parent) protected Integer
MultiInstanceActivityBehavior.getLocalLoopVariable
(ActivityExecution execution, String variableName) protected Integer
MultiInstanceActivityBehavior.getLoopVariable
(ActivityExecution execution, String variableName) protected Integer
CallableElementActivityBehavior.getVersion
(ActivityExecution execution) boolean
MultiInstanceActivityBehavior.hasLoopVariable
(ActivityExecution execution, String variableName) ParallelMultiInstanceActivityBehavior.initializeScope
(ActivityExecution scopeExecution, int numberOfInstances) SequentialMultiInstanceActivityBehavior.initializeScope
(ActivityExecution scopeExecution, int nrOfInstances) protected Object
CallableElementActivityBehavior.instantiateDelegateClass
(ActivityExecution execution) protected boolean
BpmnActivityBehavior.isAncestorCompensationThrowing
(ActivityExecution execution) void
FlowNodeActivityBehavior.leave
(ActivityExecution execution) Default way of leaving a BPMN 2.0 activity: evaluate the conditions on the outgoing sequence flow and take those that evaluate to true.protected void
ThrowEscalationEventActivityBehavior.leaveExecution
(ActivityExecution execution, PvmActivity currentActivity, EscalationEventDefinition escalationEventDefinition) protected void
FlowNodeActivityBehavior.leaveIgnoreConditions
(ActivityExecution activityContext) protected void
GatewayActivityBehavior.lockConcurrentRoot
(ActivityExecution execution) void
CallActivityBehavior.migrateScope
(ActivityExecution scopeExecution) void
CaseCallActivityBehavior.migrateScope
(ActivityExecution scopeExecution) void
ExternalTaskActivityBehavior.migrateScope
(ActivityExecution scopeExecution) void
ParallelMultiInstanceActivityBehavior.migrateScope
(ActivityExecution scopeExecution) void
UserTaskActivityBehavior.migrateScope
(ActivityExecution scopeExecution) void
CallableElementActivityBehavior.passOutputVariables
(ActivityExecution execution, VariableScope subInstance) void
BpmnActivityBehavior.performDefaultOutgoingBehavior
(ActivityExecution activityExecution) Performs the default outgoing BPMN 2.0 behavior, which is having parallel paths of executions for the outgoing sequence flow.void
ReceiveTaskActivityBehavior.performExecution
(ActivityExecution execution) void
ScriptTaskActivityBehavior.performExecution
(ActivityExecution execution) void
ServiceTaskDelegateExpressionActivityBehavior.performExecution
(ActivityExecution execution) void
ServiceTaskExpressionActivityBehavior.performExecution
(ActivityExecution execution) void
ServiceTaskJavaDelegateActivityBehavior.performExecution
(ActivityExecution execution) protected void
TaskActivityBehavior.performExecution
(ActivityExecution execution) The method which should be overridden by the sub classes to perform an execution.void
UserTaskActivityBehavior.performExecution
(ActivityExecution execution) void
BpmnActivityBehavior.performIgnoreConditionsOutgoingBehavior
(ActivityExecution activityExecution) Performs the default outgoing BPMN 2.0 behavior (@seeBpmnActivityBehavior.performDefaultOutgoingBehavior(ActivityExecution)
), but without checking the conditions on the outgoing sequence flow.protected void
MultiInstanceActivityBehavior.performInstance
(ActivityExecution execution, PvmActivity activity, int loopCounter) protected void
BpmnActivityBehavior.performOutgoingBehavior
(ActivityExecution execution, boolean checkConditions) Actual implementation of leaving an activity.protected void
TaskActivityBehavior.postExecution
(ActivityExecution execution) The method which will be called after performing the execution.protected void
TaskActivityBehavior.preExecution
(ActivityExecution execution) The method which will be called before the execution is performed.protected void
SequentialMultiInstanceActivityBehavior.prepareScope
(ActivityExecution scopeExecution, int totalNumberOfInstances) protected void
ParallelMultiInstanceActivityBehavior.prepareScopeExecution
(ActivityExecution scopeExecution, int nrOfInstances) void
MultiInstanceActivityBehavior.removeLoopVariable
(ActivityExecution execution, String variableName) CallableElementActivityBehavior.resolveDelegateClass
(ActivityExecution execution) protected DelegateVariableMapping
CallableElementActivityBehavior.resolveDelegation
(ActivityExecution execution) protected int
MultiInstanceActivityBehavior.resolveLoopCardinality
(ActivityExecution execution) protected int
MultiInstanceActivityBehavior.resolveNrOfInstances
(ActivityExecution execution) protected void
MultiInstanceActivityBehavior.setLoopVariable
(ActivityExecution execution, String variableName, Object value) void
AbstractBpmnActivityBehavior.signal
(ActivityExecution execution, String signalName, Object signalData) void
CancelBoundaryEventActivityBehavior.signal
(ActivityExecution execution, String signalName, Object signalData) void
CancelEndEventActivityBehavior.signal
(ActivityExecution execution, String signalName, Object signalData) void
ClassDelegateActivityBehavior.signal
(ActivityExecution execution, String signalName, Object signalData) void
CompensationEventActivityBehavior.signal
(ActivityExecution execution, String signalName, Object signalData) void
CustomActivityBehavior.signal
(ActivityExecution execution, String signalEvent, Object signalData) void
ExternalTaskActivityBehavior.signal
(ActivityExecution execution, String signalName, Object signalData) void
FlowNodeActivityBehavior.signal
(ActivityExecution execution, String signalName, Object signalData) void
IntermediateCatchEventActivityBehavior.signal
(ActivityExecution execution, String signalName, Object signalData) void
ReceiveTaskActivityBehavior.signal
(ActivityExecution execution, String signalName, Object data) void
ServiceTaskDelegateExpressionActivityBehavior.signal
(ActivityExecution execution, String signalName, Object signalData) void
UserTaskActivityBehavior.signal
(ActivityExecution execution, String signalName, Object signalData) protected void
AbstractBpmnActivityBehavior.signalCompensationDone
(ActivityExecution execution) protected abstract void
CallableElementActivityBehavior.startInstance
(ActivityExecution execution, VariableMap variables, String businessKey) protected void
CallActivityBehavior.startInstance
(ActivityExecution execution, VariableMap variables, String businessKey) protected void
CaseCallActivityBehavior.startInstance
(ActivityExecution execution, VariableMap variables, String businessKey) -
Uses of ActivityExecution in org.camunda.bpm.engine.impl.bpmn.delegate
Modifier and TypeFieldDescriptionprotected final ActivityExecution
ActivityBehaviorInvocation.execution
protected ActivityExecution
ActivityBehaviorSignalInvocation.execution
ModifierConstructorDescriptionActivityBehaviorInvocation
(ActivityBehavior behaviorInstance, ActivityExecution execution) ActivityBehaviorSignalInvocation
(SignallableActivityBehavior behaviorInstance, ActivityExecution execution, String signalName, Object signalData) -
Uses of ActivityExecution in org.camunda.bpm.engine.impl.bpmn.helper
Modifier and TypeMethodDescriptionstatic List<EventSubscriptionEntity>
CompensationUtil.collectCompensateEventSubscriptionsForActivity
(ActivityExecution execution, String activityRef) Collect all compensate event subscriptions for activity on the scope of given execution.static List<EventSubscriptionEntity>
CompensationUtil.collectCompensateEventSubscriptionsForScope
(ActivityExecution execution) Collect all compensate event subscriptions for scope of given execution.static EscalationEventDefinition
EscalationHandler.executeEscalation
(ActivityExecution execution, String escalationCode) Walks through the activity execution hierarchy, fetches and executes matching escalation catch eventstatic void
BpmnExceptionHandler.propagateBpmnError
(BpmnError error, ActivityExecution execution) static void
BpmnExceptionHandler.propagateError
(String errorCode, String errorMessage, Exception origException, ActivityExecution execution) static void
EscalationHandler.propagateEscalation
(ActivityExecution execution, String escalationCode) static void
BpmnExceptionHandler.propagateException
(ActivityExecution execution, Exception ex) Decides how to propagate the exception properly, e.g.protected static void
BpmnExceptionHandler.propagateExceptionAsError
(Exception exception, ActivityExecution execution) static void
CompensationUtil.throwCompensationEvent
(List<EventSubscriptionEntity> eventSubscriptions, ActivityExecution execution, boolean async) we create a separate execution for each compensation handler invocation. -
Uses of ActivityExecution in org.camunda.bpm.engine.impl.persistence.entity
-
Uses of ActivityExecution in org.camunda.bpm.engine.impl.pvm.delegate
Modifier and TypeMethodDescriptionActivityExecution.createExecution()
creates a new execution.ModificationObserverBehavior.createInnerInstance
(ActivityExecution scopeExecution) Returns an execution that can be used to execute an activity within that scope.ActivityExecution.findExecutionForFlowScope
(PvmScope targetScope) Assumption: the current execution is active and executing an activity (getActivity()
is not null).ActivityExecution.getParent()
returns the parent of this execution, or null if there no parent.Modifier and TypeMethodDescriptionActivityExecution.findInactiveChildExecutions
(PvmActivity activity) ActivityExecution.findInactiveConcurrentExecutions
(PvmActivity activity) Retrieves all executions which are concurrent and inactive at the given activity.List<? extends ActivityExecution>
ActivityExecution.getExecutions()
returns the list of execution of which this execution the parent of.List<? extends ActivityExecution>
ActivityExecution.getNonEventScopeExecutions()
returns child executions that are not event scope executions.ModificationObserverBehavior.initializeScope
(ActivityExecution scopeExecution, int nrOfInnerInstances) Implement to customize initialization of the scope.Modifier and TypeMethodDescriptionvoid
CompositeActivityBehavior.complete
(ActivityExecution scopeExecution) void
SubProcessActivityBehavior.completed
(ActivityExecution execution) Called after the process instance is destroyed for this activity to perform its outgoing control flow logic.void
CompositeActivityBehavior.concurrentChildExecutionEnded
(ActivityExecution scopeExecution, ActivityExecution endedExecution) Invoked when an execution is ended within the scope of the compositeModificationObserverBehavior.createInnerInstance
(ActivityExecution scopeExecution) Returns an execution that can be used to execute an activity within that scope.void
ModificationObserverBehavior.destroyInnerInstance
(ActivityExecution concurrentExecution) implement to destroy an execution in this scope and handle the scope's reorganization (e.g.void
ActivityBehavior.execute
(ActivityExecution execution) ModificationObserverBehavior.initializeScope
(ActivityExecution scopeExecution, int nrOfInnerInstances) Implement to customize initialization of the scope.void
MigrationObserverBehavior.migrateScope
(ActivityExecution scopeExecution) Implement to perform activity-specific migration behavior that is not covered by the regular migration procedure.void
SubProcessActivityBehavior.passOutputVariables
(ActivityExecution targetExecution, VariableScope calledElementInstance) Pass the output variables from the process instance of the subprocess to the given execution.void
SignallableActivityBehavior.signal
(ActivityExecution execution, String signalEvent, Object signalData) -
Uses of ActivityExecution in org.camunda.bpm.engine.impl.pvm.runtime
Modifier and TypeMethodDescriptionPvmExecutionImpl.findInactiveChildExecutions
(PvmActivity activity) PvmExecutionImpl.findInactiveConcurrentExecutions
(PvmActivity activity) Modifier and TypeMethodDescriptionstatic boolean
LegacyBehavior.eventSubprocessComplete
(ActivityExecution scopeExecution) static boolean
LegacyBehavior.eventSubprocessConcurrentChildExecutionEnded
(ActivityExecution scopeExecution, ActivityExecution endedExecution) protected static boolean
LegacyBehavior.isLegacyBehaviorRequired
(ActivityExecution scopeExecution) This method -
Uses of ActivityExecution in org.camunda.bpm.engine.impl.tree
Modifier and TypeMethodDescriptionprotected static ActivityExecutionTuple
ActivityExecutionHierarchyWalker.createTuple
(ActivityExecution execution) protected static PvmScope
ActivityExecutionHierarchyWalker.getCurrentFlowScope
(ActivityExecution execution) protected boolean
OutputVariablesPropagator.isProcessInstanceOfSubprocess
(ActivityExecution execution) void
ActivityExecutionMappingCollector.visit
(ActivityExecution execution) void
OutputVariablesPropagator.visit
(ActivityExecution execution) Modifier and TypeMethodDescriptionActivityExecutionHierarchyWalker.addExecutionPostVisitor
(TreeVisitor<ActivityExecution> visitor) ActivityExecutionHierarchyWalker.addExecutionPreVisitor
(TreeVisitor<ActivityExecution> visitor) ModifierConstructorDescriptionActivityExecutionTuple
(PvmScope scope, ActivityExecution execution) -
Uses of ActivityExecution in org.camunda.bpm.engine.spring.components.registry
Modifier and TypeMethodDescriptionvoid
ActivitiStateHandlerRegistry.execute
(ActivityExecution execution) void
ActivitiStateHandlerRegistry.signal
(ActivityExecution execution, String signalName, Object data) -
Uses of ActivityExecution in org.camunda.connect.plugin.impl
Modifier and TypeMethodDescriptionprotected void
ServiceTaskConnectorActivityBehavior.applyInputParameters
(ActivityExecution execution, org.camunda.connect.spi.ConnectorRequest<?> request) protected void
ServiceTaskConnectorActivityBehavior.applyOutputParameters
(ActivityExecution execution, org.camunda.connect.spi.ConnectorResponse response) void
ServiceTaskConnectorActivityBehavior.execute
(ActivityExecution execution)