public class ReadyActivityStateImpl extends OnEnterAndFinishConnectorState
ID_ACTIVITY_EXECUTING, ID_ACTIVITY_FAILED, ID_ACTIVITY_READY| Constructor and Description |
|---|
ReadyActivityStateImpl(StateBehaviors stateBehaviors) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
afterOnFinish(SProcessDefinition processDefinition,
SFlowNodeInstance flowNodeInstance) |
protected void |
beforeOnEnter(SProcessDefinition processDefinition,
SFlowNodeInstance flowNodeInstance) |
int |
getId() |
java.lang.String |
getName() |
SStateCategory |
getStateCategory()
Get the state's category
|
java.lang.String |
getSystemComment(SFlowNodeInstance flowNodeInstance)
Add a system comment "User XYZ has XYZ(state change) task XYZ(task name)"
|
boolean |
hit(SProcessDefinition processDefinition,
SFlowNodeInstance parentInstance,
SFlowNodeInstance childInstance)
Called when a children of the flow node parentInstance finish
|
boolean |
isInterrupting() |
boolean |
isStable() |
boolean |
isTerminal()
Checks whether the state is a terminal one.
|
boolean |
mustAddSystemComment(SFlowNodeInstance flowNodeInstance)
Return true if flowNodeInstance instance of SHumanTaskInstance
|
protected void |
onEnterToOnFinish(SProcessDefinition processDefinition,
SFlowNodeInstance flowNodeInstance) |
boolean |
shouldExecuteState(SProcessDefinition processDefinition,
SFlowNodeInstance flowNodeInstance) |
executepublic ReadyActivityStateImpl(StateBehaviors stateBehaviors)
protected void beforeOnEnter(SProcessDefinition processDefinition, SFlowNodeInstance flowNodeInstance) throws SActivityStateExecutionException
beforeOnEnter in class OnEnterAndFinishConnectorStateSActivityStateExecutionExceptionprotected void onEnterToOnFinish(SProcessDefinition processDefinition, SFlowNodeInstance flowNodeInstance) throws SActivityStateExecutionException
onEnterToOnFinish in class OnEnterAndFinishConnectorStateSActivityStateExecutionExceptionprotected void afterOnFinish(SProcessDefinition processDefinition, SFlowNodeInstance flowNodeInstance) throws SActivityStateExecutionException
afterOnFinish in class OnEnterAndFinishConnectorStateSActivityStateExecutionExceptionpublic int getId()
public boolean isInterrupting()
public boolean isStable()
public boolean isTerminal()
Statepublic java.lang.String getName()
public boolean hit(SProcessDefinition processDefinition, SFlowNodeInstance parentInstance, SFlowNodeInstance childInstance)
Statepublic boolean shouldExecuteState(SProcessDefinition processDefinition, SFlowNodeInstance flowNodeInstance)
public SStateCategory getStateCategory()
Statepublic boolean mustAddSystemComment(SFlowNodeInstance flowNodeInstance)
FlowNodeStatepublic java.lang.String getSystemComment(SFlowNodeInstance flowNodeInstance)
FlowNodeState