Modifier and Type | Method and Description |
---|---|
protected List<? extends ActivityExecution> |
InclusiveGatewayActivityBehavior.getLeaveExecutions(ActivityExecution parent) |
Modifier and Type | Method and Description |
---|---|
boolean |
InclusiveGatewayActivityBehavior.activeConcurrentExecutionsExist(ActivityExecution execution) |
protected void |
MultiInstanceActivityBehavior.callActivityEndListeners(ActivityExecution execution)
Since no transitions are followed when leaving the inner activity,
it is needed to call the end listeners yourself.
|
void |
MultiInstanceActivityBehavior.completed(ActivityExecution execution) |
void |
CallActivityBehavior.completed(ActivityExecution execution) |
protected boolean |
MultiInstanceActivityBehavior.completionConditionSatisfied(ActivityExecution execution) |
protected void |
AbstractBpmnActivityBehavior.createCompensateEventSubscription(ActivityExecution execution) |
protected void |
SequentialMultiInstanceBehavior.createInstances(ActivityExecution execution,
int nrOfInstances)
Handles the sequential case of spawning the instances.
|
protected void |
ParallelMultiInstanceBehavior.createInstances(ActivityExecution execution,
int nrOfInstances)
Handles the parallel case of spawning the instances.
|
protected abstract void |
MultiInstanceActivityBehavior.createInstances(ActivityExecution execution,
int nrOfInstances) |
protected boolean |
MultiInstanceActivityBehavior.createInstancesIfPossible(ActivityExecution execution)
protects the createInstance method - it is only called if the numberOfInstances is valid
(negative is invalid -> exception; zero means the sub instances are skipped)
Returns true if instances were created
|
protected ActivityBehavior |
ServiceTaskDelegateExpressionActivityBehavior.determineBehaviour(ActivityBehavior delegateInstance,
ActivityExecution execution) |
void |
UserTaskActivityBehavior.execute(ActivityExecution execution) |
void |
TerminateEndEventActivityBehavior.execute(ActivityExecution execution) |
void |
SubProcessActivityBehavior.execute(ActivityExecution execution) |
void |
SignalEndEventActivityBehavior.execute(ActivityExecution execution) |
void |
ShellActivityBehavior.execute(ActivityExecution execution) |
void |
ServiceTaskJavaDelegateActivityBehavior.execute(ActivityExecution execution) |
void |
ServiceTaskExpressionActivityBehavior.execute(ActivityExecution execution) |
void |
ServiceTaskDelegateExpressionActivityBehavior.execute(ActivityExecution execution) |
void |
SequentialMultiInstanceBehavior.execute(ActivityExecution execution) |
void |
ScriptTaskActivityBehavior.execute(ActivityExecution execution) |
void |
ReceiveTaskActivityBehavior.execute(ActivityExecution execution) |
void |
ParallelGatewayActivityBehavior.execute(ActivityExecution execution) |
void |
NoneEndEventActivityBehavior.execute(ActivityExecution execution) |
void |
MultiInstanceActivityBehavior.execute(ActivityExecution execution) |
void |
MailActivityBehavior.execute(ActivityExecution execution) |
void |
IntermediateThrowSignalEventActivityBehavior.execute(ActivityExecution execution) |
void |
IntermediateThrowCompensationEventActivityBehavior.execute(ActivityExecution execution) |
void |
IntermediateCatchLinkEventActivityBehavior.execute(ActivityExecution execution) |
void |
IntermediateCatchEventActivityBehavior.execute(ActivityExecution execution) |
void |
InclusiveGatewayActivityBehavior.execute(ActivityExecution execution) |
void |
FlowNodeActivityBehavior.execute(ActivityExecution execution)
Default behaviour: just leave the activity with no extra functionality.
|
void |
EventSubProcessStartEventActivityBehavior.execute(ActivityExecution execution) |
void |
EventBasedGatewayActivityBehavior.execute(ActivityExecution execution) |
void |
ErrorEndEventActivityBehavior.execute(ActivityExecution execution) |
void |
CancelEndEventActivityBehavior.execute(ActivityExecution execution) |
void |
CancelBoundaryEventActivityBehavior.execute(ActivityExecution execution) |
void |
CallActivityBehavior.execute(ActivityExecution execution) |
protected void |
MultiInstanceActivityBehavior.executeOriginalBehavior(ActivityExecution execution,
int loopCounter) |
protected void |
ParallelMultiInstanceBehavior.fixMiRootActivityInstanceId(ActivityExecution execution) |
protected ActivityBehavior |
ServiceTaskDelegateExpressionActivityBehavior.getActivityBehaviorInstance(ActivityExecution execution,
Object delegateInstance) |
protected List<? extends ActivityExecution> |
InclusiveGatewayActivityBehavior.getLeaveExecutions(ActivityExecution parent) |
protected Integer |
MultiInstanceActivityBehavior.getLocalLoopVariable(ActivityExecution execution,
String variableName) |
protected Integer |
MultiInstanceActivityBehavior.getLoopVariable(ActivityExecution execution,
String variableName) |
protected void |
UserTaskActivityBehavior.handleAssignments(TaskEntity task,
ActivityExecution execution) |
protected boolean |
AbstractBpmnActivityBehavior.hasCompensationHandler(ActivityExecution execution) |
void |
SubProcessActivityBehavior.lastExecutionEnded(ActivityExecution execution) |
void |
MultiInstanceActivityBehavior.lastExecutionEnded(ActivityExecution execution) |
void |
SequentialMultiInstanceBehavior.leave(ActivityExecution execution)
Called when the wrapped
ActivityBehavior calls the
AbstractBpmnActivityBehavior.leave(ActivityExecution) method. |
void |
ParallelMultiInstanceBehavior.leave(ActivityExecution execution)
Called when the wrapped
ActivityBehavior calls the
AbstractBpmnActivityBehavior.leave(ActivityExecution) method. |
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 |
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 |
AbstractBpmnActivityBehavior.leave(ActivityExecution execution)
Subclasses that call leave() will first pass through this method, before
the regular
FlowNodeActivityBehavior.leave(ActivityExecution) is
called. |
protected void |
FlowNodeActivityBehavior.leaveIgnoreConditions(ActivityExecution activityContext) |
protected void |
GatewayActivityBehavior.lockConcurrentRoot(ActivityExecution execution) |
protected void |
MultiInstanceActivityBehavior.logLoopDetails(ActivityExecution execution,
String custom,
int loopCounter,
int nrOfCompletedInstances,
int nrOfActiveInstances,
int nrOfInstances) |
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 |
BpmnActivityBehavior.performOutgoingBehavior(ActivityExecution execution,
boolean checkConditions,
boolean throwExceptionIfExecutionStuck,
List<ActivityExecution> reusableExecutions)
Actual implementation of leaving an activity.
|
protected void |
ParallelMultiInstanceBehavior.resetMiRootActivityInstanceId(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 |
UserTaskActivityBehavior.signal(ActivityExecution execution,
String signalName,
Object signalData) |
void |
ServiceTaskDelegateExpressionActivityBehavior.signal(ActivityExecution execution,
String signalName,
Object signalData) |
void |
ReceiveTaskActivityBehavior.signal(ActivityExecution execution,
String signalName,
Object data) |
void |
MultiInstanceActivityBehavior.signal(ActivityExecution execution,
String signalName,
Object signalData) |
void |
IntermediateThrowCompensationEventActivityBehavior.signal(ActivityExecution execution,
String signalName,
Object signalData) |
void |
IntermediateCatchEventActivityBehavior.signal(ActivityExecution execution,
String signalName,
Object signalData) |
void |
FlowNodeActivityBehavior.signal(ActivityExecution execution,
String signalName,
Object signalData) |
void |
CancelBoundaryEventActivityBehavior.signal(ActivityExecution execution,
String signalName,
Object signalData) |
void |
AbstractBpmnActivityBehavior.signal(ActivityExecution execution,
String signalName,
Object signalData) |
protected void |
AbstractBpmnActivityBehavior.signalCompensationDone(ActivityExecution execution,
Object signalData) |
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 | Method and Description |
---|---|
static ActivityExecution |
ScopeUtil.findScopeExecution(ActivityExecution execution)
Find the next scope execution in the parent execution hierarchy
That method works different than
ScopeUtil.findScopeExecutionForScope(org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity, org.camunda.bpm.engine.impl.pvm.PvmScope)
which returns the most outer scope execution. |
Modifier and Type | Method and Description |
---|---|
protected ActivityBehavior |
ClassDelegate.determineBehaviour(ActivityBehavior delegateInstance,
ActivityExecution execution) |
void |
ClassDelegate.execute(ActivityExecution execution) |
static ActivityExecution |
ScopeUtil.findScopeExecution(ActivityExecution execution)
Find the next scope execution in the parent execution hierarchy
That method works different than
ScopeUtil.findScopeExecutionForScope(org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity, org.camunda.bpm.engine.impl.pvm.PvmScope)
which returns the most outer scope execution. |
protected ActivityBehavior |
ClassDelegate.getActivityBehaviorInstance(ActivityExecution execution) |
static void |
ErrorPropagation.propagateError(BpmnError error,
ActivityExecution execution) |
static void |
ErrorPropagation.propagateError(String errorCode,
Exception origException,
ActivityExecution execution) |
static void |
ErrorPropagation.propagateException(Exception ex,
ActivityExecution execution) |
void |
ClassDelegate.signal(ActivityExecution execution,
String signalName,
Object signalData) |
static void |
ScopeUtil.throwCompensationEvent(List<CompensateEventSubscriptionEntity> eventSubscriptions,
ActivityExecution execution,
boolean async)
we create a separate execution for each compensation handler invocation.
|
Modifier and Type | Field and Description |
---|---|
protected ActivityExecution |
ActivityBehaviorInvocation.execution |
Constructor and Description |
---|
ActivityBehaviorInvocation(ActivityBehavior behaviorInstance,
ActivityExecution execution) |
Modifier and Type | Class and Description |
---|---|
class |
ExecutionEntity |
Modifier and Type | Method and Description |
---|---|
List<ActivityExecution> |
ExecutionEntity.findInactiveConcurrentExecutions(PvmActivity activity) |
Modifier and Type | Method and Description |
---|---|
static TaskEntity |
TaskEntity.createAndInsert(ActivityExecution execution)
creates and initializes a new persistent task.
|
Modifier and Type | Method and Description |
---|---|
void |
ExecutionEntity.takeAll(List<PvmTransition> transitions,
List<ActivityExecution> recyclableExecutions) |
Modifier and Type | Method and Description |
---|---|
ActivityExecution |
ActivityExecution.createExecution()
creates a new execution.
|
ActivityExecution |
ActivityExecution.createExecution(boolean initializeExecutionStartContext)
creates a new execution.
|
ActivityExecution |
ActivityExecution.getParent()
returns the parent of this execution, or null if there no parent.
|
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.
|
Modifier and Type | Method and Description |
---|---|
void |
SubProcessActivityBehavior.completed(ActivityExecution execution)
called after the process instance is destroyed for
this activity to perform its outgoing control flow logic.
|
void |
ActivityBehavior.execute(ActivityExecution execution) |
void |
CompositeActivityBehavior.lastExecutionEnded(ActivityExecution execution) |
void |
SignallableActivityBehavior.signal(ActivityExecution execution,
String signalEvent,
Object signalData) |
Modifier and Type | Method and Description |
---|---|
void |
ActivityExecution.takeAll(List<PvmTransition> outgoingTransitions,
List<ActivityExecution> joinedExecutions)
Takes the given outgoing transitions, and potentially reusing
the given list of executions that were previously joined.
|
Modifier and Type | Interface and Description |
---|---|
interface |
InterpretableExecution
Interpretable view of an execution.
|
Modifier and Type | Class and Description |
---|---|
class |
ExecutionImpl |
Modifier and Type | Method and Description |
---|---|
List<ActivityExecution> |
ExecutionImpl.findInactiveConcurrentExecutions(PvmActivity activity) |
Modifier and Type | Method and Description |
---|---|
void |
ExecutionImpl.takeAll(List<PvmTransition> transitions,
List<ActivityExecution> recyclableExecutions) |
Modifier and Type | Method and Description |
---|---|
void |
ActivitiStateHandlerRegistry.execute(ActivityExecution execution) |
void |
ActivitiStateHandlerRegistry.signal(ActivityExecution execution,
String signalName,
Object data) |
Copyright © 2015. All rights reserved.