Class OnEnterOrOnFinishConnectorState
- java.lang.Object
-
- org.bonitasoft.engine.execution.state.OnEnterOrOnFinishConnectorState
-
- All Implemented Interfaces:
FlowNodeState
- Direct Known Subclasses:
OnEnterConnectorState,OnFinishConnectorState
@Component public abstract class OnEnterOrOnFinishConnectorState extends java.lang.Object implements FlowNodeState
- Author:
- Baptiste Mesta
-
-
Field Summary
Fields Modifier and Type Field Description protected StateBehaviorsstateBehaviors-
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 OnEnterOrOnFinishConnectorState(StateBehaviors stateBehaviors)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract voidafterConnectors(SProcessDefinition processDefinition, SFlowNodeInstance flowNodeInstance)protected abstract voidbeforeConnectors(SProcessDefinition processDefinition, SFlowNodeInstance flowNodeInstance)StateCodeexecute(SProcessDefinition processDefinition, SFlowNodeInstance flowNodeInstance)protected abstract org.bonitasoft.engine.bpm.connector.ConnectorEventgetConnectorEvent()-
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
-
-
-
-
Field Detail
-
stateBehaviors
protected final StateBehaviors stateBehaviors
-
-
Constructor Detail
-
OnEnterOrOnFinishConnectorState
public OnEnterOrOnFinishConnectorState(StateBehaviors stateBehaviors)
-
-
Method Detail
-
beforeConnectors
protected abstract void beforeConnectors(SProcessDefinition processDefinition, SFlowNodeInstance flowNodeInstance) throws SActivityStateExecutionException
- Throws:
SActivityStateExecutionException
-
afterConnectors
protected abstract void afterConnectors(SProcessDefinition processDefinition, SFlowNodeInstance flowNodeInstance) throws SActivityStateExecutionException
- Throws:
SActivityStateExecutionException
-
execute
public StateCode execute(SProcessDefinition processDefinition, SFlowNodeInstance flowNodeInstance) throws SActivityStateExecutionException
- Specified by:
executein interfaceFlowNodeState- Throws:
SActivityStateExecutionException
-
getConnectorEvent
protected abstract org.bonitasoft.engine.bpm.connector.ConnectorEvent getConnectorEvent()
-
-