Class CancellingBoundaryAndIntermediateCatchEventState
- java.lang.Object
-
- org.bonitasoft.engine.execution.state.EndingIntermediateCatchEventExceptionState
-
- org.bonitasoft.engine.execution.state.CancellingBoundaryAndIntermediateCatchEventState
-
- All Implemented Interfaces:
FlowNodeState
@Component public class CancellingBoundaryAndIntermediateCatchEventState extends EndingIntermediateCatchEventExceptionState
-
-
Field Summary
-
Fields inherited from interface org.bonitasoft.engine.core.process.instance.api.states.FlowNodeState
ID_ACTIVITY_EXECUTING, ID_ACTIVITY_FAILED, ID_ACTIVITY_READY
-
-
Constructor Summary
Constructors Constructor Description CancellingBoundaryAndIntermediateCatchEventState(WaitingEventsInterrupter waitingEventsInterrupter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetId()java.lang.StringgetName()SStateCategorygetStateCategory()Get the state's categoryjava.lang.StringgetSystemComment(SFlowNodeInstance flowNodeInstance)Add a system comment "User XYZ has XYZ(state change) task XYZ(task name)"booleanmustAddSystemComment(SFlowNodeInstance flowNodeInstance)Return true if flowNodeInstance instance of SHumanTaskInstance-
Methods inherited from class org.bonitasoft.engine.execution.state.EndingIntermediateCatchEventExceptionState
execute, isStable, isTerminal, notifyChildFlowNodeHasFinished, shouldExecuteState
-
-
-
-
Constructor Detail
-
CancellingBoundaryAndIntermediateCatchEventState
public CancellingBoundaryAndIntermediateCatchEventState(WaitingEventsInterrupter waitingEventsInterrupter)
-
-
Method Detail
-
getId
public int getId()
-
getName
public java.lang.String getName()
-
getStateCategory
public SStateCategory getStateCategory()
Description copied from interface:FlowNodeStateGet the state's category- Returns:
- the state's category
-
mustAddSystemComment
public boolean mustAddSystemComment(SFlowNodeInstance flowNodeInstance)
Description copied from interface:FlowNodeStateReturn true if flowNodeInstance instance of SHumanTaskInstance- Returns:
- true or false
-
getSystemComment
public java.lang.String getSystemComment(SFlowNodeInstance flowNodeInstance)
Description copied from interface:FlowNodeStateAdd a system comment "User XYZ has XYZ(state change) task XYZ(task name)"- Returns:
- system comment "User XYZ has XYZ(state change) task XYZ(task name)"
-
-