Class AbortingCallActivityState
java.lang.Object
org.bonitasoft.engine.execution.state.EndingCallActivityExceptionState
org.bonitasoft.engine.execution.state.AbortingCallActivityState
- All Implemented Interfaces:
FlowNodeState
-
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
ConstructorsConstructorDescriptionAbortingCallActivityState(ProcessInstanceService processInstanceService, ProcessInstanceInterruptor processInstanceInterruptor, BPMArchiverService bpmArchiverService) -
Method Summary
Modifier and TypeMethodDescriptionintgetId()getName()Get the state's categorygetSystemComment(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 SHumanTaskInstanceMethods inherited from class org.bonitasoft.engine.execution.state.EndingCallActivityExceptionState
execute, isStable, isTerminal, notifyChildFlowNodeHasFinished, shouldExecuteState
-
Constructor Details
-
AbortingCallActivityState
public AbortingCallActivityState(ProcessInstanceService processInstanceService, ProcessInstanceInterruptor processInstanceInterruptor, BPMArchiverService bpmArchiverService)
-
-
Method Details
-
getId
public int getId() -
getName
-
getStateCategory
Description copied from interface:FlowNodeStateGet the state's category- Returns:
- the state's category
-
mustAddSystemComment
Description copied from interface:FlowNodeStateReturn true if flowNodeInstance instance of SHumanTaskInstance- Returns:
- true or false
-
getSystemComment
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)"
-