| Package | Description |
|---|---|
| org.activiti.engine.compatibility | |
| org.activiti.engine.debug | |
| org.activiti.engine.delegate |
Interfaces used to include Java code in a process as the behavior of an activity
or as a listener to process events with
JavaDelegates. |
| org.activiti.engine.impl |
API implementation classes, which shouldn't directly be used by end-users.
|
| org.activiti.engine.impl.bpmn.behavior | |
| org.activiti.engine.impl.bpmn.data | |
| org.activiti.engine.impl.bpmn.helper | |
| org.activiti.engine.impl.bpmn.listener | |
| org.activiti.engine.impl.bpmn.webservice | |
| org.activiti.engine.impl.delegate | |
| org.activiti.engine.impl.delegate.invocation | |
| org.activiti.engine.impl.el | |
| org.activiti.engine.impl.persistence.entity | |
| org.activiti.engine.impl.scripting | |
| org.activiti.engine.impl.test | |
| org.activiti.engine.impl.util | |
| org.activiti.engine.impl.util.condition |
| Modifier and Type | Method and Description |
|---|---|
Object |
Activiti5CompatibilityHandler.getScriptingEngineValue(String payloadExpressionValue,
String languageValue,
DelegateExecution execution) |
void |
Activiti5CompatibilityHandler.leaveExecution(DelegateExecution execution) |
boolean |
Activiti5CompatibilityHandler.mapException(Exception camelException,
DelegateExecution execution,
List<MapExceptionEntry> mapExceptions) |
void |
Activiti5CompatibilityHandler.propagateError(BpmnError bpmnError,
DelegateExecution execution) |
| Modifier and Type | Method and Description |
|---|---|
static ExecutionTree |
ExecutionTreeUtil.buildExecutionTree(DelegateExecution executionEntity) |
| Modifier and Type | Method and Description |
|---|---|
DelegateExecution |
DelegateTask.getExecution()
Returns the execution currently at the task.
|
DelegateExecution |
DelegateExecution.getParent()
returns the parent of this execution, or null if there no parent.
|
| Modifier and Type | Method and Description |
|---|---|
List<? extends DelegateExecution> |
DelegateExecution.getExecutions()
returns the list of execution of which this execution the parent of.
|
| Modifier and Type | Method and Description |
|---|---|
void |
JavaDelegate.execute(DelegateExecution execution) |
static BpmnModel |
DelegateHelper.getBpmnModel(DelegateExecution execution)
Returns the
BpmnModel matching the process definition bpmn model
for the process definition of the passed DelegateExecution. |
Map<String,Object> |
CustomPropertiesResolver.getCustomPropertiesMap(DelegateExecution execution) |
static Map<String,List<ExtensionElement>> |
DelegateHelper.getExtensionElements(DelegateExecution execution)
|
static FieldExtension |
DelegateHelper.getField(DelegateExecution execution,
String fieldName)
Returns the
FieldExtension matching the provided 'fieldName' which
is defined for the current activity of the provided
DelegateExecution. |
static Expression |
DelegateHelper.getFieldExpression(DelegateExecution execution,
String fieldName)
Returns the
Expression for the field defined for the current
activity of the provided DelegateExecution. |
static List<FieldExtension> |
DelegateHelper.getFields(DelegateExecution execution)
Returns the list of field extensions, represented as instances of
FieldExtension, for the current activity of the passed
DelegateExecution. |
static FlowElement |
DelegateHelper.getFlowElement(DelegateExecution execution)
Returns the current
FlowElement where the DelegateExecution is currently at. |
static Map<String,List<ExtensionElement>> |
DelegateHelper.getFlowElementExtensionElements(DelegateExecution execution) |
static FieldExtension |
DelegateHelper.getFlowElementField(DelegateExecution execution,
String fieldName) |
static Expression |
DelegateHelper.getFlowElementFieldExpression(DelegateExecution execution,
String fieldName) |
static List<FieldExtension> |
DelegateHelper.getFlowElementFields(DelegateExecution execution) |
static Map<String,List<ExtensionElement>> |
DelegateHelper.getListenerExtensionElements(DelegateExecution execution) |
static FieldExtension |
DelegateHelper.getListenerField(DelegateExecution execution,
String fieldName) |
static Expression |
DelegateHelper.getListenerFieldExpression(DelegateExecution execution,
String fieldName) |
static List<FieldExtension> |
DelegateHelper.getListenerFields(DelegateExecution execution) |
static boolean |
DelegateHelper.isExecutingExecutionListener(DelegateExecution execution)
Returns whether or not the provided execution is being use for executing an
ExecutionListener. |
static void |
DelegateHelper.leaveDelegate(DelegateExecution delegateExecution)
To be used in an
ActivityBehavior or JavaDelegate: leaves
according to the default BPMN 2.0 rules: all sequenceflow with a condition
that evaluates to true are followed. |
static void |
DelegateHelper.leaveDelegate(DelegateExecution delegateExecution,
String sequenceFlowId)
To be used in an
ActivityBehavior or JavaDelegate: leaves
the current activity via one specific sequenceflow. |
void |
ExecutionListener.notify(DelegateExecution execution) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
Condition.evaluate(String sequenceFlowId,
DelegateExecution execution) |
| Modifier and Type | Method and Description |
|---|---|
protected DelegateExecution |
ParallelGatewayActivityBehavior.findMultiInstanceParentExecution(DelegateExecution execution) |
protected DelegateExecution |
MultiInstanceActivityBehavior.getMultiInstanceRootExecution(DelegateExecution executionEntity) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
MultiInstanceActivityBehavior.callActivityEndListeners(DelegateExecution execution)
Since no transitions are followed when leaving the inner activity, it is needed to call the end listeners yourself.
|
protected Collection<ExecutionEntity> |
ParallelGatewayActivityBehavior.cleanJoinedExecutions(Collection<ExecutionEntity> joinedExecutions,
DelegateExecution multiInstanceExecution) |
void |
MultiInstanceActivityBehavior.completed(DelegateExecution execution) |
void |
CallActivityBehavior.completed(DelegateExecution execution) |
void |
MultiInstanceActivityBehavior.completing(DelegateExecution execution,
DelegateExecution subProcessInstance) |
void |
CallActivityBehavior.completing(DelegateExecution execution,
DelegateExecution subProcessInstance) |
protected boolean |
MultiInstanceActivityBehavior.completionConditionSatisfied(DelegateExecution execution) |
protected int |
ParallelMultiInstanceBehavior.createInstances(DelegateExecution execution)
Handles the parallel case of spawning the instances.
|
protected int |
SequentialMultiInstanceBehavior.createInstances(DelegateExecution multiInstanceExecution)
Handles the sequential case of spawning the instances.
|
protected abstract int |
MultiInstanceActivityBehavior.createInstances(DelegateExecution execution) |
protected void |
TerminateEndEventActivityBehavior.defaultTerminateEndEventBehaviour(DelegateExecution execution,
CommandContext commandContext,
ExecutionEntityManager executionEntityManager) |
protected ExecutionEntity |
IntermediateCatchMessageEventActivityBehavior.deleteMessageEventSubScription(DelegateExecution execution) |
protected void |
IntermediateCatchEventActivityBehavior.deleteOtherEventsRelatedToEventBasedGateway(DelegateExecution execution,
EventGateway eventGateway) |
protected ExecutionEntity |
IntermediateCatchSignalEventActivityBehavior.deleteSignalEventSubscription(DelegateExecution execution) |
protected void |
TerminateEndEventActivityBehavior.dispatchActivityCancelled(DelegateExecution execution,
FlowElement terminateEndEvent) |
protected void |
TerminateEndEventActivityBehavior.dispatchExecutionCancelled(DelegateExecution execution,
FlowElement terminateEndEvent) |
void |
IntermediateCatchMessageEventActivityBehavior.eventCancelledByEventGateway(DelegateExecution execution) |
void |
IntermediateCatchSignalEventActivityBehavior.eventCancelledByEventGateway(DelegateExecution execution) |
void |
IntermediateCatchEventActivityBehavior.eventCancelledByEventGateway(DelegateExecution execution)
Should be subclassed by the more specific types.
|
void |
IntermediateCatchTimerEventActivityBehavior.eventCancelledByEventGateway(DelegateExecution execution) |
void |
InclusiveGatewayActivityBehavior.execute(DelegateExecution execution) |
void |
SubProcessActivityBehavior.execute(DelegateExecution execution) |
void |
FlowNodeActivityBehavior.execute(DelegateExecution execution)
Default behaviour: just leave the activity with no extra functionality.
|
void |
IntermediateThrowCompensationEventActivityBehavior.execute(DelegateExecution execution) |
void |
ServiceTaskJavaDelegateActivityBehavior.execute(DelegateExecution execution) |
void |
IntermediateCatchMessageEventActivityBehavior.execute(DelegateExecution execution) |
void |
BoundarySignalEventActivityBehavior.execute(DelegateExecution execution) |
void |
ShellActivityBehavior.execute(DelegateExecution execution) |
void |
ErrorEndEventActivityBehavior.execute(DelegateExecution execution) |
void |
ServiceTaskDelegateExpressionActivityBehavior.execute(DelegateExecution execution) |
void |
IntermediateCatchSignalEventActivityBehavior.execute(DelegateExecution execution) |
void |
ParallelGatewayActivityBehavior.execute(DelegateExecution execution) |
void |
AdhocSubProcessActivityBehavior.execute(DelegateExecution execution) |
void |
BoundaryEventActivityBehavior.execute(DelegateExecution execution) |
void |
BoundaryTimerEventActivityBehavior.execute(DelegateExecution execution) |
void |
ServiceTaskExpressionActivityBehavior.execute(DelegateExecution execution) |
void |
WebServiceActivityBehavior.execute(DelegateExecution execution) |
void |
EventSubProcessMessageStartEventActivityBehavior.execute(DelegateExecution execution) |
void |
BoundaryMessageEventActivityBehavior.execute(DelegateExecution execution) |
void |
ReceiveTaskActivityBehavior.execute(DelegateExecution execution) |
void |
BoundaryCompensateEventActivityBehavior.execute(DelegateExecution execution) |
void |
IntermediateThrowSignalEventActivityBehavior.execute(DelegateExecution execution) |
void |
MultiInstanceActivityBehavior.execute(DelegateExecution execution) |
void |
UserTaskActivityBehavior.execute(DelegateExecution execution) |
void |
IntermediateCatchEventActivityBehavior.execute(DelegateExecution execution) |
void |
TerminateEndEventActivityBehavior.execute(DelegateExecution execution) |
void |
NoneEndEventActivityBehavior.execute(DelegateExecution execution) |
void |
IntermediateCatchTimerEventActivityBehavior.execute(DelegateExecution execution) |
void |
CallActivityBehavior.execute(DelegateExecution execution) |
void |
MailActivityBehavior.execute(DelegateExecution execution) |
void |
CancelEndEventActivityBehavior.execute(DelegateExecution execution) |
void |
EventSubProcessErrorStartEventActivityBehavior.execute(DelegateExecution execution) |
void |
ScriptTaskActivityBehavior.execute(DelegateExecution execution) |
protected void |
AbstractBpmnActivityBehavior.executeCompensateBoundaryEvents(Collection<BoundaryEvent> boundaryEvents,
DelegateExecution execution) |
protected void |
MultiInstanceActivityBehavior.executeCompensationBoundaryEvents(FlowElement flowElement,
DelegateExecution execution) |
protected void |
MultiInstanceActivityBehavior.executeOriginalBehavior(DelegateExecution execution,
int loopCounter) |
protected void |
WebServiceActivityBehavior.fillMessage(List<DataAssociation> dataInputAssociations,
DelegateExecution execution) |
protected DelegateExecution |
ParallelGatewayActivityBehavior.findMultiInstanceParentExecution(DelegateExecution execution) |
protected Expression |
MailActivityBehavior.getExpression(DelegateExecution execution,
Expression var) |
protected Integer |
MultiInstanceActivityBehavior.getLocalLoopVariable(DelegateExecution execution,
String variableName) |
protected Integer |
MultiInstanceActivityBehavior.getLoopVariable(DelegateExecution execution,
String variableName) |
protected DelegateExecution |
MultiInstanceActivityBehavior.getMultiInstanceRootExecution(DelegateExecution executionEntity) |
protected EventGateway |
IntermediateCatchEventActivityBehavior.getPrecedingEventBasedGateway(DelegateExecution execution) |
protected String |
ShellActivityBehavior.getStringFromField(Expression expression,
DelegateExecution execution) |
protected String |
MailActivityBehavior.getStringFromField(Expression expression,
DelegateExecution execution) |
protected SubProcess |
SubProcessActivityBehavior.getSubProcessFromExecution(DelegateExecution execution) |
protected SubProcess |
AdhocSubProcessActivityBehavior.getSubProcessFromExecution(DelegateExecution execution) |
protected void |
UserTaskActivityBehavior.handleAssignments(TaskEntityManager taskEntityManager,
String assignee,
String owner,
List<String> candidateUsers,
List<String> candidateGroups,
TaskEntity task,
ExpressionManager expressionManager,
DelegateExecution execution) |
protected void |
MailActivityBehavior.handleException(DelegateExecution execution,
String msg,
Exception e,
boolean doIgnoreException,
String exceptionVariable) |
protected void |
WebServiceActivityBehavior.initializeIoSpecification(IOSpecification activityIoSpecification,
DelegateExecution execution,
BpmnModel bpmnModel) |
protected boolean |
ParallelGatewayActivityBehavior.isChildOfMultiInstanceExecution(DelegateExecution executionEntity,
DelegateExecution multiInstanceExecution) |
void |
MultiInstanceActivityBehavior.lastExecutionEnded(DelegateExecution execution) |
void |
FlowNodeActivityBehavior.leave(DelegateExecution 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.
|
void |
AbstractBpmnActivityBehavior.leave(DelegateExecution execution)
Subclasses that call leave() will first pass through this method, before the regular
FlowNodeActivityBehavior#leave(ActivityExecution) is called. |
void |
ParallelMultiInstanceBehavior.leave(DelegateExecution execution)
Called when the wrapped
ActivityBehavior calls the AbstractBpmnActivityBehavior#leave(ActivityExecution) method. |
void |
ExclusiveGatewayActivityBehavior.leave(DelegateExecution 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 |
SequentialMultiInstanceBehavior.leave(DelegateExecution childExecution)
Called when the wrapped
ActivityBehavior calls the AbstractBpmnActivityBehavior#leave(ActivityExecution) method. |
void |
FlowNodeActivityBehavior.leaveIgnoreConditions(DelegateExecution execution) |
void |
IntermediateCatchEventActivityBehavior.leaveIntermediateCatchEvent(DelegateExecution execution)
Specific leave method for intermediate events: does a normal leave(), except
when behind an event based gateway.
|
protected void |
ParallelMultiInstanceBehavior.lockFirstParentScope(DelegateExecution execution) |
protected void |
GatewayActivityBehavior.lockFirstParentScope(DelegateExecution execution) |
protected void |
MultiInstanceActivityBehavior.logLoopDetails(DelegateExecution execution,
String custom,
int loopCounter,
int nrOfCompletedInstances,
int nrOfActiveInstances,
int nrOfInstances) |
void |
ServiceTaskJavaDelegateActivityBehavior.notify(DelegateExecution execution) |
protected void |
MultiInstanceActivityBehavior.removeLocalLoopVariable(DelegateExecution execution,
String variableName) |
protected Collection |
MultiInstanceActivityBehavior.resolveAndValidateCollection(DelegateExecution execution) |
protected Object |
MultiInstanceActivityBehavior.resolveCollection(DelegateExecution execution) |
protected int |
MultiInstanceActivityBehavior.resolveLoopCardinality(DelegateExecution execution) |
protected int |
MultiInstanceActivityBehavior.resolveNrOfInstances(DelegateExecution execution) |
protected void |
WebServiceActivityBehavior.returnMessage(List<DataAssociation> dataOutputAssociations,
DelegateExecution execution) |
protected void |
TerminateEndEventActivityBehavior.sendProcessInstanceCancelledEvent(DelegateExecution execution,
FlowElement terminateEndEvent) |
protected void |
MultiInstanceActivityBehavior.setLoopVariable(DelegateExecution execution,
String variableName,
Object value) |
protected void |
TerminateEndEventActivityBehavior.terminateAllBehaviour(DelegateExecution execution,
CommandContext commandContext,
ExecutionEntityManager executionEntityManager) |
protected void |
TerminateEndEventActivityBehavior.terminateMultiInstanceRoot(DelegateExecution execution,
CommandContext commandContext,
ExecutionEntityManager executionEntityManager) |
void |
BoundaryCancelEventActivityBehavior.trigger(DelegateExecution execution,
String triggerName,
Object triggerData) |
void |
FlowNodeActivityBehavior.trigger(DelegateExecution execution,
String signalName,
Object signalData) |
void |
IntermediateCatchMessageEventActivityBehavior.trigger(DelegateExecution execution,
String triggerName,
Object triggerData) |
void |
BoundarySignalEventActivityBehavior.trigger(DelegateExecution execution,
String triggerName,
Object triggerData) |
void |
ServiceTaskDelegateExpressionActivityBehavior.trigger(DelegateExecution execution,
String signalName,
Object signalData) |
void |
IntermediateCatchSignalEventActivityBehavior.trigger(DelegateExecution execution,
String triggerName,
Object triggerData) |
void |
BoundaryEventActivityBehavior.trigger(DelegateExecution execution,
String triggerName,
Object triggerData) |
void |
EventSubProcessMessageStartEventActivityBehavior.trigger(DelegateExecution execution,
String triggerName,
Object triggerData) |
void |
BoundaryMessageEventActivityBehavior.trigger(DelegateExecution execution,
String triggerName,
Object triggerData) |
void |
ReceiveTaskActivityBehavior.trigger(DelegateExecution execution,
String signalName,
Object data) |
void |
BoundaryCompensateEventActivityBehavior.trigger(DelegateExecution execution,
String triggerName,
Object triggerData) |
void |
MultiInstanceActivityBehavior.trigger(DelegateExecution execution,
String signalName,
Object signalData) |
void |
UserTaskActivityBehavior.trigger(DelegateExecution execution,
String signalName,
Object signalData) |
void |
IntermediateCatchEventActivityBehavior.trigger(DelegateExecution execution,
String signalName,
Object signalData) |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
AbstractDataAssociation.evaluate(DelegateExecution execution) |
void |
SimpleDataInputAssociation.evaluate(DelegateExecution execution) |
void |
TransformationDataOutputAssociation.evaluate(DelegateExecution execution) |
void |
Assignment.evaluate(DelegateExecution execution) |
void |
IOSpecification.initialize(DelegateExecution execution) |
| Modifier and Type | Method and Description |
|---|---|
void |
ClassDelegate.completed(DelegateExecution execution) |
void |
ClassDelegate.completing(DelegateExecution execution,
DelegateExecution subProcessInstance) |
void |
ClassDelegate.execute(DelegateExecution execution) |
protected static void |
ErrorPropagation.executeCatch(Map<String,List<Event>> eventMap,
DelegateExecution delegateExecution,
String errorId) |
Map<String,Object> |
ClassDelegate.getCustomPropertiesMap(DelegateExecution execution) |
static boolean |
SkipExpressionUtil.isSkipExpressionEnabled(DelegateExecution execution,
Expression skipExpression) |
static boolean |
SkipExpressionUtil.isSkipExpressionEnabled(DelegateExecution execution,
String skipExpression) |
void |
ClassDelegate.notify(DelegateExecution execution) |
static void |
ErrorPropagation.propagateError(BpmnError error,
DelegateExecution execution) |
static void |
ErrorPropagation.propagateError(String errorCode,
DelegateExecution execution) |
static boolean |
SkipExpressionUtil.shouldSkipFlowElement(CommandContext commandContext,
DelegateExecution execution,
String skipExpressionString) |
static boolean |
SkipExpressionUtil.shouldSkipFlowElement(DelegateExecution execution,
Expression skipExpression) |
static void |
ScopeUtil.throwCompensationEvent(List<CompensateEventSubscriptionEntity> eventSubscriptions,
DelegateExecution execution,
boolean async)
we create a separate execution for each compensation handler invocation.
|
void |
ClassDelegate.trigger(DelegateExecution execution,
String signalName,
Object signalData) |
| Modifier and Type | Method and Description |
|---|---|
void |
ListenerNotificationHelper.executeExecutionListeners(HasExecutionListeners elementWithExecutionListeners,
DelegateExecution execution,
String eventType) |
Map<String,Object> |
DelegateExpressionCustomPropertiesResolver.getCustomPropertiesMap(DelegateExecution execution) |
Map<String,Object> |
ExpressionCustomPropertiesResolver.getCustomPropertiesMap(DelegateExecution execution) |
protected Map<String,Object> |
ListenerNotificationHelper.invokeCustomPropertiesResolver(DelegateExecution execution,
CustomPropertiesResolver customPropertiesResolver) |
void |
ExpressionExecutionListener.notify(DelegateExecution execution) |
void |
DelegateExpressionExecutionListener.notify(DelegateExecution execution) |
void |
ScriptExecutionListener.notify(DelegateExecution execution) |
protected void |
ListenerNotificationHelper.planTransactionDependentExecutionListener(ListenerFactory listenerFactory,
DelegateExecution execution,
TransactionDependentExecutionListener executionListener,
ActivitiListener activitiListener) |
protected void |
ListenerNotificationHelper.planTransactionDependentTaskListener(DelegateExecution execution,
TransactionDependentTaskListener taskListener,
ActivitiListener activitiListener) |
| Modifier and Type | Method and Description |
|---|---|
void |
MessageImplicitDataOutputAssociation.evaluate(DelegateExecution execution) |
void |
MessageImplicitDataInputAssociation.evaluate(DelegateExecution execution) |
| Modifier and Type | Field and Description |
|---|---|
protected DelegateExecution |
ActivityBehaviorInvocation.execution |
| Modifier and Type | Method and Description |
|---|---|
void |
SubProcessActivityBehavior.completed(DelegateExecution execution)
called after the process instance is destroyed for this activity to perform its outgoing control flow logic.
|
void |
SubProcessActivityBehavior.completing(DelegateExecution execution,
DelegateExecution subProcessInstance)
called before the process instance is destroyed to allow this activity to extract data from the sub process instance.
|
void |
ActivityBehavior.execute(DelegateExecution execution) |
void |
TriggerableActivityBehavior.trigger(DelegateExecution execution,
String signalEvent,
Object signalData) |
| Constructor and Description |
|---|
ActivityBehaviorInvocation(ActivityBehavior behaviorInstance,
DelegateExecution execution) |
| Modifier and Type | Field and Description |
|---|---|
protected DelegateExecution |
JavaDelegateInvocation.execution |
protected DelegateExecution |
ExecutionListenerInvocation.execution |
| Constructor and Description |
|---|
ExecutionListenerInvocation(ExecutionListener executionListenerInstance,
DelegateExecution execution) |
JavaDelegateInvocation(JavaDelegate delegateInstance,
DelegateExecution execution) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
UelExpressionCondition.evaluate(String sequenceFlowId,
DelegateExecution execution) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
ExecutionEntity |
| Modifier and Type | Class and Description |
|---|---|
class |
ExecutionEntityImpl |
| Modifier and Type | Method and Description |
|---|---|
boolean |
ScriptCondition.evaluate(String sequenceFlowId,
DelegateExecution execution) |
| Modifier and Type | Method and Description |
|---|---|
void |
NoOpServiceTask.execute(DelegateExecution execution) |
| Modifier and Type | Method and Description |
|---|---|
void |
CommandExecutor.executeCommand(DelegateExecution execution) |
void |
ShellCommandExecutor.executeCommand(DelegateExecution execution) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
ConditionUtil.hasTrueCondition(SequenceFlow sequenceFlow,
DelegateExecution execution) |
Copyright © 2010–2018 Alfresco. All rights reserved.