Class OnEnterAndFinishConnectorState
- java.lang.Object
-
- org.bonitasoft.engine.execution.state.OnEnterAndFinishConnectorState
-
- All Implemented Interfaces:
FlowNodeState
- Direct Known Subclasses:
ExecutingAutomaticActivityState,ExecutingThrowEventState,InitializingAndExecutingFlowNodeState,ReadyActivityState
public abstract class OnEnterAndFinishConnectorState extends java.lang.Object implements FlowNodeState
- 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 Constructor Description OnEnterAndFinishConnectorState(StateBehaviors stateBehaviors)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract voidafterOnFinish(SProcessDefinition processDefinition, SFlowNodeInstance flowNodeInstance)protected abstract voidbeforeOnEnter(SProcessDefinition processDefinition, SFlowNodeInstance flowNodeInstance)StateCodeexecute(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, wait
-
Methods inherited from interface org.bonitasoft.engine.core.process.instance.api.states.FlowNodeState
getId, getName, getStateCategory, getSystemComment, isStable, isTerminal, mustAddSystemComment, notifyChildFlowNodeHasFinished, shouldExecuteState
-
-
-
-
Constructor Detail
-
OnEnterAndFinishConnectorState
public OnEnterAndFinishConnectorState(StateBehaviors stateBehaviors)
-
-
Method Detail
-
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
-
-