Modifier and Type | Method and Description |
---|---|
protected ActivityExecution |
TerminateEndEventActivityBehavior.findProcessInstanceExecution(ActivityExecution execution)
Finds the parent execution that is a process instance.
|
protected ActivityExecution |
TerminateEndEventActivityBehavior.findRootProcessInstanceExecution(ExecutionEntity execution) |
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.
|
protected void |
MultiInstanceActivityBehavior.callCustomActivityStartListeners(ActivityExecution execution)
Since the first loop of the multi instance is not executed as a regular activity,
it is needed to call the start 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)
Handles the sequential case of spawning the instances.
|
protected void |
ParallelMultiInstanceBehavior.createInstances(ActivityExecution execution)
Handles the parallel case of spawning the instances.
|
protected abstract void |
MultiInstanceActivityBehavior.createInstances(ActivityExecution execution) |
protected void |
TerminateEndEventActivityBehavior.deleteProcessInstance(ExecutionEntity processInstanceExecution,
ActivityExecution execution,
String deleteReason) |
protected void |
TerminateEndEventActivityBehavior.dispatchActivityCancelled(ActivityExecution execution,
ActivityImpl activity,
ActivityImpl causeActivity) |
protected void |
BpmnActivityBehavior.dispatchJobCanceledEvents(ActivityExecution activityExecution)
dispatch job canceled event for job associated with given execution entity
|
void |
WebServiceActivityBehavior.execute(ActivityExecution execution)
Default behaviour: just leave the activity with no extra functionality.
|
void |
UserTaskActivityBehavior.execute(ActivityExecution execution) |
void |
TerminateEndEventActivityBehavior.execute(ActivityExecution execution) |
void |
SubProcessActivityBehavior.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 |
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) |
void |
BusinessRuleTaskActivityBehavior.execute(ActivityExecution execution) |
void |
BoundaryEventActivityBehavior.execute(ActivityExecution execution) |
protected void |
MultiInstanceActivityBehavior.executeOriginalBehavior(ActivityExecution execution,
int loopCounter) |
protected ActivityExecution |
TerminateEndEventActivityBehavior.findProcessInstanceExecution(ActivityExecution execution)
Finds the parent execution that is a process instance.
|
protected Expression |
MailActivityBehavior.getExpression(ActivityExecution execution,
Expression var) |
protected Integer |
MultiInstanceActivityBehavior.getLocalLoopVariable(ActivityExecution execution,
String variableName) |
protected Integer |
MultiInstanceActivityBehavior.getLoopVariable(ActivityExecution execution,
String variableName) |
protected void |
UserTaskActivityBehavior.handleAssignments(Expression assigneeExpression,
Expression ownerExpression,
Set<Expression> candidateUserExpressions,
Set<Expression> candidateGroupExpressions,
TaskEntity task,
ActivityExecution execution) |
protected void |
MailActivityBehavior.handleException(ActivityExecution execution,
String msg,
Exception e,
boolean doIgnoreException,
String exceptionVariable) |
protected boolean |
AbstractBpmnActivityBehavior.hasCompensationHandler(ActivityExecution execution) |
protected void |
SubProcessActivityBehavior.initializeDataObjects(ActivityExecution execution,
PvmActivity activity) |
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 activityExecution)
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 int |
MultiInstanceActivityBehavior.resolveLoopCardinality(ActivityExecution execution) |
protected int |
MultiInstanceActivityBehavior.resolveNrOfInstances(ActivityExecution execution) |
protected void |
TerminateEndEventActivityBehavior.sendCancelledEvent(ActivityExecution execution,
ActivityImpl terminateEndEventActivity,
ActivityExecution scopeExecution) |
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) |
protected void |
TerminateEndEventActivityBehavior.terminateExecution(ActivityExecution execution,
ActivityImpl terminateEndEventActivity,
ActivityExecution scopeExecution) |
protected void |
TerminateEndEventActivityBehavior.terminateProcessInstanceExecution(ActivityExecution execution,
ActivityImpl terminateEndEventActivity,
ActivityExecution processInstanceExecution) |
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 |
---|---|
void |
TransformationDataOutputAssociation.evaluate(ActivityExecution execution) |
void |
SimpleDataInputAssociation.evaluate(ActivityExecution execution) |
void |
Assignment.evaluate(ActivityExecution execution) |
abstract void |
AbstractDataAssociation.evaluate(ActivityExecution execution) |
void |
IOSpecification.initialize(ActivityExecution execution) |
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.activiti.engine.impl.persistence.entity.ExecutionEntity, org.activiti.engine.impl.pvm.PvmScope)
which returns the most outer scope execution. |
Modifier and Type | Method and Description |
---|---|
void |
ClassDelegate.completed(ActivityExecution execution) |
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.activiti.engine.impl.persistence.entity.ExecutionEntity, org.activiti.engine.impl.pvm.PvmScope)
which returns the most outer scope execution. |
protected ActivityBehavior |
ClassDelegate.getActivityBehaviorInstance(ActivityExecution execution) |
static boolean |
SkipExpressionUtil.isSkipExpressionEnabled(ActivityExecution execution,
Expression skipExpression) |
static boolean |
ErrorPropagation.mapException(Exception e,
ActivityExecution execution,
List<org.activiti.bpmn.model.MapExceptionEntry> exceptionMap) |
static boolean |
ErrorPropagation.mapException(Exception e,
ActivityExecution execution,
List<org.activiti.bpmn.model.MapExceptionEntry> exceptionMap,
boolean wrapped) |
static void |
ErrorPropagation.propagateError(BpmnError error,
ActivityExecution execution) |
static void |
ErrorPropagation.propagateError(String errorCode,
ActivityExecution execution) |
static boolean |
SkipExpressionUtil.shouldSkipFlowElement(ActivityExecution execution,
Expression skipExpression) |
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 | Method and Description |
---|---|
void |
MessageImplicitDataOutputAssociation.evaluate(ActivityExecution execution) |
void |
MessageImplicitDataInputAssociation.evaluate(ActivityExecution execution) |
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.getParent()
returns the parent of this execution, or null if there no parent.
|
ActivityExecution |
ActivityExecution.getProcessInstance() |
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 |
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 |
---|---|
static void |
LogMDC.putMDCExecution(ActivityExecution e) |
Copyright © 2016 Alfresco. All rights reserved.