Package org.activiti.engine.impl.agenda
Class AbstractOperation
java.lang.Object
org.activiti.engine.impl.agenda.AbstractOperation
- All Implemented Interfaces:
Runnable
- Direct Known Subclasses:
ContinueMultiInstanceOperation,ContinueProcessOperation,DestroyScopeOperation,EndExecutionOperation,ExecuteInactiveBehaviorsOperation,TakeOutgoingSequenceFlowsOperation,TriggerExecutionOperation
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Agendaprotected CommandContextprotected ExecutionEntity -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidexecuteExecutionListeners(org.activiti.bpmn.model.HasExecutionListeners elementWithExecutionListeners, String eventType) Executes the execution listeners defined on the given element, with the given event type.protected voidexecuteExecutionListeners(org.activiti.bpmn.model.HasExecutionListeners elementWithExecutionListeners, ExecutionEntity executionEntity, String eventType) Executes the execution listeners defined on the given element, with the given event type, and passing the provided execution to theExecutionListenerinstances.protected ExecutionEntityfindFirstParentScopeExecution(ExecutionEntity executionEntity) Returns the first parent execution of the provided execution that is a scope.protected org.activiti.bpmn.model.FlowElementgetCurrentFlowElement(ExecutionEntity execution) Helper method to match the activityId of an execution with a FlowElement of the process definition referenced by the execution.voidsetAgenda(DefaultActivitiEngineAgenda agenda) voidsetCommandContext(CommandContext commandContext) voidsetExecution(ExecutionEntity execution)
-
Field Details
-
commandContext
-
agenda
-
execution
-
-
Constructor Details
-
AbstractOperation
public AbstractOperation() -
AbstractOperation
-
-
Method Details
-
getCurrentFlowElement
Helper method to match the activityId of an execution with a FlowElement of the process definition referenced by the execution. -
executeExecutionListeners
protected void executeExecutionListeners(org.activiti.bpmn.model.HasExecutionListeners elementWithExecutionListeners, String eventType) Executes the execution listeners defined on the given element, with the given event type. Uses theexecutionof this operation instance as argument for the execution listener. -
executeExecutionListeners
protected void executeExecutionListeners(org.activiti.bpmn.model.HasExecutionListeners elementWithExecutionListeners, ExecutionEntity executionEntity, String eventType) Executes the execution listeners defined on the given element, with the given event type, and passing the provided execution to theExecutionListenerinstances. -
findFirstParentScopeExecution
Returns the first parent execution of the provided execution that is a scope. -
getCommandContext
-
setCommandContext
-
getAgenda
-
setAgenda
-
getExecution
-
setExecution
-