Class CancellingReceiveTaskState
java.lang.Object
org.bonitasoft.engine.execution.state.CancellingActivityWithBoundaryState
org.bonitasoft.engine.execution.state.CancellingReceiveTaskState
- 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
ConstructorsConstructorDescriptionCancellingReceiveTaskState(WaitingEventsInterrupter waitingEventsInterrupter) -
Method Summary
Modifier and TypeMethodDescriptionexecute(SProcessDefinition processDefinition, SFlowNodeInstance instance) intgetId()booleanshouldExecuteState(SProcessDefinition processDefinition, SFlowNodeInstance flowNodeInstance) Methods inherited from class org.bonitasoft.engine.execution.state.CancellingActivityWithBoundaryState
getBoundaryCategoryState, getName, getStateCategory, getSystemComment, isStable, isTerminal, mustAddSystemComment, notifyChildFlowNodeHasFinished
-
Constructor Details
-
CancellingReceiveTaskState
-
-
Method Details
-
getId
public int getId()- Specified by:
getIdin interfaceFlowNodeState- Overrides:
getIdin classCancellingActivityWithBoundaryState
-
execute
public StateCode execute(SProcessDefinition processDefinition, SFlowNodeInstance instance) throws SActivityStateExecutionException - Specified by:
executein interfaceFlowNodeState- Overrides:
executein classCancellingActivityWithBoundaryState- Throws:
SActivityStateExecutionException
-
shouldExecuteState
public boolean shouldExecuteState(SProcessDefinition processDefinition, SFlowNodeInstance flowNodeInstance) - Specified by:
shouldExecuteStatein interfaceFlowNodeState- Overrides:
shouldExecuteStatein classCancellingActivityWithBoundaryState- Returns:
- true the state must be executed, false if the execution must skip this state and go directly to the next one
-