public abstract class OnEnterAndFinishConnectorState extends java.lang.Object implements FlowNodeState
ID_ACTIVITY_EXECUTING, ID_ACTIVITY_FAILED, ID_ACTIVITY_READY| Constructor and Description |
|---|
OnEnterAndFinishConnectorState(StateBehaviors stateBehaviors) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
afterOnFinish(SProcessDefinition processDefinition,
SFlowNodeInstance flowNodeInstance) |
protected abstract void |
beforeOnEnter(SProcessDefinition processDefinition,
SFlowNodeInstance flowNodeInstance) |
StateCode |
execute(SProcessDefinition processDefinition,
SFlowNodeInstance flowNodeInstance) |
protected abstract void |
onEnterToOnFinish(SProcessDefinition processDefinition,
SFlowNodeInstance flowNodeInstance) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetSystemComment, mustAddSystemComment, shouldExecuteStategetId, getName, getStateCategory, hit, isInterrupting, isStable, isTerminalpublic OnEnterAndFinishConnectorState(StateBehaviors stateBehaviors)
public StateCode execute(SProcessDefinition processDefinition, SFlowNodeInstance flowNodeInstance) throws SActivityStateExecutionException
execute in interface State<SFlowNodeInstance>SActivityStateExecutionExceptionprotected abstract void beforeOnEnter(SProcessDefinition processDefinition, SFlowNodeInstance flowNodeInstance) throws SActivityStateExecutionException
SActivityStateExecutionExceptionprotected abstract void onEnterToOnFinish(SProcessDefinition processDefinition, SFlowNodeInstance flowNodeInstance) throws SActivityStateExecutionException
SActivityStateExecutionExceptionprotected abstract void afterOnFinish(SProcessDefinition processDefinition, SFlowNodeInstance flowNodeInstance) throws SActivityStateExecutionException
SActivityStateExecutionException