public class TerminateEndEventActivityBehavior extends FlowNodeActivityBehavior
Modifier and Type | Field and Description |
---|---|
protected boolean |
terminateAll |
bpmnActivityBehavior
Constructor and Description |
---|
TerminateEndEventActivityBehavior() |
TerminateEndEventActivityBehavior(boolean terminateAll) |
Modifier and Type | Method and Description |
---|---|
protected void |
deleteExecutionEntities(CommandContext commandContext,
ExecutionEntityManager executionEntityManager,
ExecutionTreeBfsIterator treeIterator) |
protected void |
dispatchActivityCancelled(DelegateExecution execution,
org.activiti.bpmn.model.FlowElement terminateEndEvent) |
protected void |
dispatchExecutionCancelled(DelegateExecution execution,
org.activiti.bpmn.model.FlowElement terminateEndEvent) |
void |
execute(DelegateExecution execution)
Default behaviour: just leave the activity with no extra functionality.
|
protected ExecutionTreeNode |
findFirstScope(DelegateExecution execution,
ExecutionTree executionTree) |
protected boolean |
hasMultiInstanceParent(org.activiti.bpmn.model.FlowNode flowNode) |
protected void |
sendProcessInstanceCancelledEvent(DelegateExecution execution,
org.activiti.bpmn.model.FlowElement terminateEndEvent) |
leave, leaveIgnoreConditions, parseActivityType, trigger
public TerminateEndEventActivityBehavior()
public TerminateEndEventActivityBehavior(boolean terminateAll)
public void execute(DelegateExecution execution)
FlowNodeActivityBehavior
execute
in interface ActivityBehavior
execute
in class FlowNodeActivityBehavior
protected ExecutionTreeNode findFirstScope(DelegateExecution execution, ExecutionTree executionTree)
protected void deleteExecutionEntities(CommandContext commandContext, ExecutionEntityManager executionEntityManager, ExecutionTreeBfsIterator treeIterator)
protected void sendProcessInstanceCancelledEvent(DelegateExecution execution, org.activiti.bpmn.model.FlowElement terminateEndEvent)
protected void dispatchExecutionCancelled(DelegateExecution execution, org.activiti.bpmn.model.FlowElement terminateEndEvent)
protected void dispatchActivityCancelled(DelegateExecution execution, org.activiti.bpmn.model.FlowElement terminateEndEvent)
protected boolean hasMultiInstanceParent(org.activiti.bpmn.model.FlowNode flowNode)
Copyright © 2015 Alfresco. All rights reserved.