public class ProcessInstanceInterruptor
extends java.lang.Object
| Constructor and Description |
|---|
ProcessInstanceInterruptor(ProcessInstanceService processInstanceService,
FlowNodeInstanceService flowNodeInstanceService,
ContainerRegistry containerRegistry,
TechnicalLoggerService technicalLoggerService) |
| Modifier and Type | Method and Description |
|---|---|
void |
interruptChildrenOfFlowNodeInstance(SFlowNodeInstance flowNodeInstance,
SStateCategory stateCategory)
Interrupt children of given flow node instance
|
void |
interruptChildrenOfProcessInstance(long processInstanceId,
SStateCategory stateCategory,
long interruptorChildId)
Interrupt children of given process instance excluding interruptorChildId
|
void |
interruptProcessInstance(long processInstanceId,
SStateCategory stateCategory)
Interrupt the given process instant AND its children
|
void |
interruptProcessInstance(long processInstanceId,
SStateCategory stateCategory,
long exceptionChildId)
Interrupt the given process instant AND its children, excluding the exceptionChildId
|
public ProcessInstanceInterruptor(ProcessInstanceService processInstanceService, FlowNodeInstanceService flowNodeInstanceService, ContainerRegistry containerRegistry, TechnicalLoggerService technicalLoggerService)
public void interruptProcessInstance(long processInstanceId,
SStateCategory stateCategory)
throws SBonitaException
processInstanceId - the process instancestateCategory - the state categorySBonitaExceptionpublic void interruptProcessInstance(long processInstanceId,
SStateCategory stateCategory,
long exceptionChildId)
throws SBonitaException
processInstanceId - the process instancestateCategory - the state categoryexceptionChildId - the element to excludeSBonitaExceptionpublic void interruptChildrenOfProcessInstance(long processInstanceId,
SStateCategory stateCategory,
long interruptorChildId)
throws SBonitaException
processInstanceId - the process instancestateCategory - the state category in which children must be setinterruptorChildId - the element to excludeSBonitaExceptionpublic void interruptChildrenOfFlowNodeInstance(SFlowNodeInstance flowNodeInstance, SStateCategory stateCategory) throws SBonitaException
flowNodeInstance - the flow node instancestateCategory - the state category in which children must be setSBonitaException