Class OnEnterAndFinishConnectorState
java.lang.Object
org.bonitasoft.engine.execution.state.OnEnterAndFinishConnectorState
- All Implemented Interfaces:
FlowNodeState
- Direct Known Subclasses:
ExecutingAutomaticActivityState,ExecutingThrowEventState,InitializingAndExecutingFlowNodeState,ReadyActivityState
- Author:
- Baptiste Mesta
-
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 -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract voidafterOnFinish(SProcessDefinition processDefinition, SFlowNodeInstance flowNodeInstance) protected abstract voidbeforeOnEnter(SProcessDefinition processDefinition, SFlowNodeInstance flowNodeInstance) execute(SProcessDefinition processDefinition, SFlowNodeInstance flowNodeInstance) protected abstract voidonEnterToOnFinish(SProcessDefinition processDefinition, SFlowNodeInstance flowNodeInstance) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.bonitasoft.engine.core.process.instance.api.states.FlowNodeState
getId, getName, getStateCategory, getSystemComment, isStable, isTerminal, mustAddSystemComment, notifyChildFlowNodeHasFinished, shouldExecuteState
-
Constructor Details
-
OnEnterAndFinishConnectorState
-
-
Method Details
-
execute
public StateCode execute(SProcessDefinition processDefinition, SFlowNodeInstance flowNodeInstance) throws SActivityStateExecutionException - Specified by:
executein interfaceFlowNodeState- Throws:
SActivityStateExecutionException
-
beforeOnEnter
protected abstract void beforeOnEnter(SProcessDefinition processDefinition, SFlowNodeInstance flowNodeInstance) throws SActivityStateExecutionException - Throws:
SActivityStateExecutionException
-
onEnterToOnFinish
protected abstract void onEnterToOnFinish(SProcessDefinition processDefinition, SFlowNodeInstance flowNodeInstance) throws SActivityStateExecutionException - Throws:
SActivityStateExecutionException
-
afterOnFinish
protected abstract void afterOnFinish(SProcessDefinition processDefinition, SFlowNodeInstance flowNodeInstance) throws SActivityStateExecutionException - Throws:
SActivityStateExecutionException
-