Class TerminateEndEventActivityBehavior
- java.lang.Object
-
- org.activiti.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
-
- org.activiti.engine.impl.bpmn.behavior.TerminateEndEventActivityBehavior
-
- All Implemented Interfaces:
Serializable,ActivityBehavior,TriggerableActivityBehavior
public class TerminateEndEventActivityBehavior extends FlowNodeActivityBehavior
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected booleanterminateAllprotected booleanterminateMultiInstance-
Fields inherited from class org.activiti.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
bpmnActivityBehavior
-
-
Constructor Summary
Constructors Constructor Description TerminateEndEventActivityBehavior()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StringcreateDeleteReason(String activityId)protected voiddefaultTerminateEndEventBehaviour(DelegateExecution execution, CommandContext commandContext, ExecutionEntityManager executionEntityManager)protected voiddeleteExecutionEntities(ExecutionEntityManager executionEntityManager, ExecutionEntity rootExecutionEntity, String deleteReason)protected voiddispatchExecutionCancelled(DelegateExecution execution, FlowElement terminateEndEvent)protected voidendAllHistoricActivities(String processInstanceId, String deleteReason)voidexecute(DelegateExecution execution)Default behaviour: just leave the activity with no extra functionality.booleanisTerminateAll()booleanisTerminateMultiInstance()protected voidsendProcessInstanceCancelledEvent(DelegateExecution execution, FlowElement terminateEndEvent)voidsetTerminateAll(boolean terminateAll)voidsetTerminateMultiInstance(boolean terminateMultiInstance)protected voidterminateAllBehaviour(DelegateExecution execution, CommandContext commandContext, ExecutionEntityManager executionEntityManager)protected voidterminateMultiInstanceRoot(DelegateExecution execution, CommandContext commandContext, ExecutionEntityManager executionEntityManager)-
Methods inherited from class org.activiti.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
leave, leaveIgnoreConditions, parseActivityType, trigger
-
-
-
-
Method Detail
-
execute
public void execute(DelegateExecution execution)
Description copied from class:FlowNodeActivityBehaviorDefault behaviour: just leave the activity with no extra functionality.- Specified by:
executein interfaceActivityBehavior- Overrides:
executein classFlowNodeActivityBehavior
-
terminateAllBehaviour
protected void terminateAllBehaviour(DelegateExecution execution, CommandContext commandContext, ExecutionEntityManager executionEntityManager)
-
defaultTerminateEndEventBehaviour
protected void defaultTerminateEndEventBehaviour(DelegateExecution execution, CommandContext commandContext, ExecutionEntityManager executionEntityManager)
-
endAllHistoricActivities
protected void endAllHistoricActivities(String processInstanceId, String deleteReason)
-
terminateMultiInstanceRoot
protected void terminateMultiInstanceRoot(DelegateExecution execution, CommandContext commandContext, ExecutionEntityManager executionEntityManager)
-
deleteExecutionEntities
protected void deleteExecutionEntities(ExecutionEntityManager executionEntityManager, ExecutionEntity rootExecutionEntity, String deleteReason)
-
sendProcessInstanceCancelledEvent
protected void sendProcessInstanceCancelledEvent(DelegateExecution execution, FlowElement terminateEndEvent)
-
dispatchExecutionCancelled
protected void dispatchExecutionCancelled(DelegateExecution execution, FlowElement terminateEndEvent)
-
isTerminateAll
public boolean isTerminateAll()
-
setTerminateAll
public void setTerminateAll(boolean terminateAll)
-
isTerminateMultiInstance
public boolean isTerminateMultiInstance()
-
setTerminateMultiInstance
public void setTerminateMultiInstance(boolean terminateMultiInstance)
-
-