public abstract class AbstractOperation extends Object implements Runnable
Modifier and Type | Field and Description |
---|---|
protected Agenda |
agenda |
protected CommandContext |
commandContext |
protected ExecutionEntity |
execution |
Constructor and Description |
---|
AbstractOperation() |
AbstractOperation(CommandContext commandContext,
ExecutionEntity execution) |
Modifier and Type | Method and Description |
---|---|
protected void |
executeExecutionListeners(org.activiti.bpmn.model.HasExecutionListeners elementWithExecutionListeners,
ExecutionEntity executionToUseForListener,
String eventType,
boolean ignoreType) |
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.
|
protected org.activiti.bpmn.model.FlowElement |
findCurrentFlowElement(ExecutionEntity execution)
Helper method to match the activityId of an execution with a FlowElement of the process definition referenced by the execution.
|
Agenda |
getAgenda() |
CommandContext |
getCommandContext() |
ExecutionEntity |
getExecution() |
void |
setAgenda(Agenda agenda) |
void |
setCommandContext(CommandContext commandContext) |
void |
setExecution(ExecutionEntity execution) |
protected CommandContext commandContext
protected Agenda agenda
protected ExecutionEntity execution
public AbstractOperation()
public AbstractOperation(CommandContext commandContext, ExecutionEntity execution)
protected org.activiti.bpmn.model.FlowElement findCurrentFlowElement(ExecutionEntity execution)
protected void executeExecutionListeners(org.activiti.bpmn.model.HasExecutionListeners elementWithExecutionListeners, String eventType)
protected void executeExecutionListeners(org.activiti.bpmn.model.HasExecutionListeners elementWithExecutionListeners, ExecutionEntity executionToUseForListener, String eventType, boolean ignoreType)
public CommandContext getCommandContext()
public void setCommandContext(CommandContext commandContext)
public Agenda getAgenda()
public void setAgenda(Agenda agenda)
public ExecutionEntity getExecution()
public void setExecution(ExecutionEntity execution)
Copyright © 2015 Alfresco. All rights reserved.