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 Object
implements FlowNodeState
- Author:
- Baptiste Mesta
-
Field Summary
FieldsFields 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 voidafterConnectors(SProcessDefinition processDefinition, SFlowNodeInstance flowNodeInstance) protected abstract voidbeforeConnectors(SProcessDefinition processDefinition, SFlowNodeInstance flowNodeInstance) execute(SProcessDefinition processDefinition, SFlowNodeInstance flowNodeInstance) protected abstract org.bonitasoft.engine.bpm.connector.ConnectorEventMethods 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
-
Field Details
-
stateBehaviors
-
-
Constructor Details
-
OnEnterOrOnFinishConnectorState
-
-
Method Details
-
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()
-