Modifier and Type | Method and Description |
---|---|
ActivityExecution |
SequentialMultiInstanceActivityBehavior.initializeScope(ActivityExecution scopeExecution) |
ActivityExecution |
ParallelMultiInstanceActivityBehavior.initializeScope(ActivityExecution scopeExecution) |
Modifier and Type | Method and Description |
---|---|
protected Collection<ActivityExecution> |
InclusiveGatewayActivityBehavior.getLeafExecutions(ActivityExecution parent) |
Modifier and Type | Method and Description |
---|---|
protected 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<CompensateEventSubscriptionEntity> |
IntermediateThrowCompensationEventActivityBehavior.collectCompensateEventSubScriptions(ActivityExecution execution) |
void |
EventSubProcessActivityBehavior.complete(ActivityExecution scopeExecution) |
void |
SubProcessActivityBehavior.complete(ActivityExecution scopeExecution) |
void |
SequentialMultiInstanceActivityBehavior.complete(ActivityExecution scopeExecution) |
void |
ParallelMultiInstanceActivityBehavior.complete(ActivityExecution scopeExecution) |
void |
CallableElementActivityBehavior.completed(ActivityExecution execution) |
protected boolean |
MultiInstanceActivityBehavior.completionConditionSatisfied(ActivityExecution execution) |
void |
EventSubProcessActivityBehavior.concurrentChildExecutionEnded(ActivityExecution scopeExecution,
ActivityExecution endedExecution) |
void |
SubProcessActivityBehavior.concurrentChildExecutionEnded(ActivityExecution scopeExecution,
ActivityExecution endedExecution) |
void |
SequentialMultiInstanceActivityBehavior.concurrentChildExecutionEnded(ActivityExecution scopeExecution,
ActivityExecution endedExecution) |
void |
ParallelMultiInstanceActivityBehavior.concurrentChildExecutionEnded(ActivityExecution scopeExecution,
ActivityExecution endedExecution) |
void |
SequentialMultiInstanceActivityBehavior.concurrentExecutionCreated(ActivityExecution scopeExecution,
ActivityExecution concurrentExecution) |
void |
ParallelMultiInstanceActivityBehavior.concurrentExecutionCreated(ActivityExecution scopeExecution,
ActivityExecution concurrentExecution) |
void |
SequentialMultiInstanceActivityBehavior.concurrentExecutionDeleted(ActivityExecution scopeExecution,
ActivityExecution concurrentExecution) |
void |
ParallelMultiInstanceActivityBehavior.concurrentExecutionDeleted(ActivityExecution scopeExecution,
ActivityExecution concurrentExecution) |
protected void |
AbstractBpmnActivityBehavior.createCompensateEventSubscription(ActivityExecution execution,
ActivityImpl compensationHandler) |
protected abstract void |
MultiInstanceActivityBehavior.createInstances(ActivityExecution execution,
int nrOfInstances) |
protected void |
SequentialMultiInstanceActivityBehavior.createInstances(ActivityExecution execution,
int nrOfInstances) |
protected void |
ParallelMultiInstanceActivityBehavior.createInstances(ActivityExecution execution,
int nrOfInstances) |
void |
ServiceTaskDelegateExpressionActivityBehavior.doSignal(ActivityExecution execution,
String signalName,
Object signalData) |
protected void |
ClassDelegateActivityBehavior.doSignal(ActivityExecution execution,
String signalName,
Object signalData) |
protected void |
MultiInstanceActivityBehavior.evaluateCollectionVariable(ActivityExecution execution,
int loopCounter) |
void |
FlowNodeActivityBehavior.execute(ActivityExecution execution)
Default behaviour: just leave the activity with no extra functionality.
|
void |
ShellActivityBehavior.execute(ActivityExecution execution) |
void |
TerminateEndEventActivityBehavior.execute(ActivityExecution execution) |
void |
ErrorEndEventActivityBehavior.execute(ActivityExecution execution) |
void |
MailActivityBehavior.execute(ActivityExecution execution) |
void |
CancelEndEventActivityBehavior.execute(ActivityExecution execution) |
void |
ParallelGatewayActivityBehavior.execute(ActivityExecution execution) |
void |
NoneEndEventActivityBehavior.execute(ActivityExecution execution) |
void |
IntermediateThrowCompensationEventActivityBehavior.execute(ActivityExecution execution) |
void |
UserTaskActivityBehavior.execute(ActivityExecution execution) |
void |
EventBasedGatewayActivityBehavior.execute(ActivityExecution execution) |
void |
SubProcessActivityBehavior.execute(ActivityExecution execution) |
void |
SignalEndEventActivityBehavior.execute(ActivityExecution execution) |
void |
MultiInstanceActivityBehavior.execute(ActivityExecution execution) |
void |
CustomActivityBehavior.execute(ActivityExecution execution) |
void |
ServiceTaskDelegateExpressionActivityBehavior.execute(ActivityExecution execution) |
void |
CallableElementActivityBehavior.execute(ActivityExecution execution) |
void |
ServiceTaskExpressionActivityBehavior.execute(ActivityExecution execution) |
void |
ReceiveTaskActivityBehavior.execute(ActivityExecution execution) |
void |
IntermediateCatchLinkEventActivityBehavior.execute(ActivityExecution execution) |
void |
ScriptTaskActivityBehavior.execute(ActivityExecution execution) |
void |
InclusiveGatewayActivityBehavior.execute(ActivityExecution execution) |
void |
IntermediateCatchEventActivityBehavior.execute(ActivityExecution execution) |
void |
ServiceTaskJavaDelegateActivityBehavior.execute(ActivityExecution execution) |
void |
IntermediateThrowSignalEventActivityBehavior.execute(ActivityExecution execution) |
void |
ClassDelegateActivityBehavior.execute(ActivityExecution execution) |
protected void |
AbstractBpmnActivityBehavior.executeWithErrorPropagation(ActivityExecution execution,
Callable<Void> toExecute)
Takes the an
ActivityExecution and an Callable 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 static ScopeImpl |
AbstractBpmnActivityBehavior.getCurrentFlowScope(ActivityExecution execution)
Assumption: execution is executing a transition or an activity.
|
protected String |
CallableElementActivityBehavior.getDeploymentId(ActivityExecution execution) |
protected VariableMap |
CallableElementActivityBehavior.getInputVariables(ActivityExecution execution) |
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) |
ActivityExecution |
SequentialMultiInstanceActivityBehavior.initializeScope(ActivityExecution scopeExecution) |
ActivityExecution |
ParallelMultiInstanceActivityBehavior.initializeScope(ActivityExecution scopeExecution) |
protected boolean |
BpmnActivityBehavior.isAncestorCompensationThrowing(ActivityExecution execution) |
protected void |
ExclusiveGatewayActivityBehavior.leave(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.
|
protected 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 |
CancelEndEventActivityBehavior.leave(ActivityExecution execution) |
protected void |
AbstractBpmnActivityBehavior.leave(ActivityExecution execution)
Subclasses that call leave() will first pass through this method, before
the regular
FlowNodeActivityBehavior.leave(ActivityExecution) is
called. |
void |
SubProcessActivityBehavior.leave(ActivityExecution execution) |
protected void |
FlowNodeActivityBehavior.leaveIgnoreConditions(ActivityExecution activityContext) |
protected void |
GatewayActivityBehavior.lockConcurrentRoot(ActivityExecution execution) |
void |
BpmnActivityBehavior.performDefaultOutgoingBehavior(ActivityExecution activityExceution)
Performs the default outgoing BPMN 2.0 behavior, which is having parallel
paths of executions for the outgoing sequence flow.
|
void |
BpmnActivityBehavior.performIgnoreConditionsOutgoingBehavior(ActivityExecution activityExecution)
Performs the default outgoing BPMN 2.0 behavior (@see
BpmnActivityBehavior.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,
boolean throwExceptionIfExecutionStuck,
List<ActivityExecution> reusableExecutions)
Actual implementation of leaving an activity.
|
protected void |
ParallelMultiInstanceActivityBehavior.prepareScopeExecution(ActivityExecution scopeExecution,
int nrOfInstances) |
protected void |
AbstractBpmnActivityBehavior.propagateBpmnError(BpmnError error,
ActivityExecution execution) |
protected void |
AbstractBpmnActivityBehavior.propagateError(String errorCode,
Exception origException,
ActivityExecution execution) |
protected void |
AbstractBpmnActivityBehavior.propagateException(ActivityExecution execution,
Exception ex)
Decides how to propagate the exception properly, e.g.
|
protected void |
AbstractBpmnActivityBehavior.propagateExceptionAsError(Exception exception,
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 |
CancelBoundaryEventActivityBehavior.signal(ActivityExecution execution,
String signalName,
Object signalData) |
void |
FlowNodeActivityBehavior.signal(ActivityExecution execution,
String signalName,
Object signalData) |
void |
CancelEndEventActivityBehavior.signal(ActivityExecution execution,
String signalName,
Object signalData) |
void |
IntermediateThrowCompensationEventActivityBehavior.signal(ActivityExecution execution,
String signalName,
Object signalData) |
void |
UserTaskActivityBehavior.signal(ActivityExecution execution,
String signalName,
Object signalData) |
void |
AbstractBpmnActivityBehavior.signal(ActivityExecution execution,
String signalName,
Object signalData) |
void |
CustomActivityBehavior.signal(ActivityExecution execution,
String signalEvent,
Object signalData) |
void |
ServiceTaskDelegateExpressionActivityBehavior.signal(ActivityExecution execution,
String signalName,
Object signalData) |
void |
ReceiveTaskActivityBehavior.signal(ActivityExecution execution,
String signalName,
Object data) |
void |
IntermediateCatchEventActivityBehavior.signal(ActivityExecution execution,
String signalName,
Object signalData) |
void |
ClassDelegateActivityBehavior.signal(ActivityExecution execution,
String signalName,
Object signalData) |
protected void |
AbstractBpmnActivityBehavior.signalCompensationDone(ActivityExecution execution,
Object signalData) |
protected void |
CallActivityBehavior.startInstance(ActivityExecution execution,
VariableMap variables,
String businessKey) |
protected void |
CaseCallActivityBehavior.startInstance(ActivityExecution execution,
VariableMap variables,
String businessKey) |
protected abstract void |
CallableElementActivityBehavior.startInstance(ActivityExecution execution,
VariableMap variables,
String businessKey) |
Modifier and Type | Method and Description |
---|---|
protected void |
BpmnActivityBehavior.performOutgoingBehavior(ActivityExecution execution,
boolean checkConditions,
boolean throwExceptionIfExecutionStuck,
List<ActivityExecution> reusableExecutions)
Actual implementation of leaving an activity.
|
Modifier and Type | Field and Description |
---|---|
protected ActivityExecution |
ActivityBehaviorInvocation.execution |
protected ActivityExecution |
ActivityBehaviorSignalInvocation.execution |
Constructor and Description |
---|
ActivityBehaviorInvocation(ActivityBehavior behaviorInstance,
ActivityExecution execution) |
ActivityBehaviorSignalInvocation(SignallableActivityBehavior behaviorInstance,
ActivityExecution execution,
String signalName,
Object signalData) |
Modifier and Type | Method and Description |
---|---|
static void |
CompensationUtil.throwCompensationEvent(List<CompensateEventSubscriptionEntity> eventSubscriptions,
ActivityExecution execution,
boolean async)
we create a separate execution for each compensation handler invocation.
|
Modifier and Type | Class and Description |
---|---|
class |
ExecutionEntity |
Modifier and Type | Method and Description |
---|---|
ActivityExecution |
ActivityExecution.createExecution()
creates a new execution.
|
ActivityExecution |
ActivityExecution.createExecution(boolean initializeExecutionStartContext)
creates a new execution.
|
ActivityExecution |
ActivityExecution.findExecutionForFlowScope(PvmScope targetScope)
Assumption: the current execution is active and executing an activity (
getActivity() is not null). |
ActivityExecution |
ActivityExecution.getParent()
returns the parent of this execution, or null if there no parent.
|
ActivityExecution |
ModificationObserverBehavior.initializeScope(ActivityExecution scopeExecution)
Implement to customize the creation of executions in the scope.
|
Modifier and Type | Method and Description |
---|---|
List<ActivityExecution> |
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.
|
Modifier and Type | Method and Description |
---|---|
void |
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 composite
|
void |
ModificationObserverBehavior.concurrentExecutionCreated(ActivityExecution scopeExecution,
ActivityExecution concurrentExecution)
implement to handle reorganization of the scope when a concurrent execution in the scope is created
(e.g.
|
void |
ModificationObserverBehavior.concurrentExecutionDeleted(ActivityExecution scopeExecution,
ActivityExecution concurrentExecution)
implement to handle reorganization of the scope when a concurrent execution in the scope is removed
(e.g.
|
void |
ActivityBehavior.execute(ActivityExecution execution) |
ActivityExecution |
ModificationObserverBehavior.initializeScope(ActivityExecution scopeExecution)
Implement to customize the creation of executions in the scope.
|
void |
SignallableActivityBehavior.signal(ActivityExecution execution,
String signalEvent,
Object signalData) |
Modifier and Type | Method and Description |
---|---|
void |
ActivityExecution.leaveActivityViaTransitions(List<PvmTransition> outgoingTransitions,
List<? extends ActivityExecution> joinedExecutions)
Takes the given outgoing transitions, and potentially reusing
the given list of executions that were previously joined.
|
Modifier and Type | Class and Description |
---|---|
class |
ExecutionImpl |
class |
PvmExecutionImpl |
Modifier and Type | Method and Description |
---|---|
List<ActivityExecution> |
PvmExecutionImpl.findInactiveConcurrentExecutions(PvmActivity activity) |
Modifier and Type | Method and Description |
---|---|
static boolean |
LegacyBehavior.eventSubprocessComplete(ActivityExecution scopeExecution) |
static boolean |
LegacyBehavior.eventSubprocessConcurrentChildExecutionEnded(ActivityExecution scopeExecution,
ActivityExecution endedExecution) |
protected static boolean |
LegacyBehavior.isLegacyBehaviorRequired(ActivityExecution scopeExecution)
This method
|
Modifier and Type | Method and Description |
---|---|
void |
PvmExecutionImpl.leaveActivityViaTransitions(List<PvmTransition> _transitions,
List<? extends ActivityExecution> _recyclableExecutions) |
Modifier and Type | Method and Description |
---|---|
void |
ActivitiStateHandlerRegistry.execute(ActivityExecution execution) |
void |
ActivitiStateHandlerRegistry.signal(ActivityExecution execution,
String signalName,
Object data) |
Modifier and Type | Method and Description |
---|---|
protected 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) |
Copyright © 2018. All rights reserved.