public class ExecutingFlowNodeStateImpl extends OnFinishConnectorState
ID_ACTIVITY_EXECUTING, ID_ACTIVITY_FAILED, ID_ACTIVITY_READY| Constructor and Description |
|---|
ExecutingFlowNodeStateImpl(StateBehaviors stateBehaviors) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
afterConnectors(SProcessDefinition processDefinition,
SFlowNodeInstance flowNodeInstance) |
protected void |
beforeConnectors(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
|
boolean |
shouldExecuteState(SProcessDefinition processDefinition,
SFlowNodeInstance flowNodeInstance) |
getConnectorEventexecutepublic ExecutingFlowNodeStateImpl(StateBehaviors stateBehaviors)
public 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)
FlowNodeStateprotected void beforeConnectors(SProcessDefinition processDefinition, SFlowNodeInstance flowNodeInstance) throws SActivityStateExecutionException
beforeConnectors in class OnEnterOrOnFinishConnectorStateSActivityStateExecutionExceptionprotected void afterConnectors(SProcessDefinition processDefinition, SFlowNodeInstance flowNodeInstance) throws SActivityStateExecutionException
afterConnectors in class OnEnterOrOnFinishConnectorStateSActivityStateExecutionException