public class SkippedFlowNodeStateImpl extends java.lang.Object implements FlowNodeState
| Modifier and Type | Field and Description |
|---|---|
static int |
ID |
ID_ACTIVITY_EXECUTING, ID_ACTIVITY_FAILED, ID_ACTIVITY_READY| Constructor and Description |
|---|
SkippedFlowNodeStateImpl() |
| Modifier and Type | Method and Description |
|---|---|
StateCode |
execute(SProcessDefinition processDefinition,
SFlowNodeInstance instance) |
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) |
public static final int ID
public StateCode execute(SProcessDefinition processDefinition, SFlowNodeInstance instance)
execute in interface State<SFlowNodeInstance>public int getId()
getId in interface State<SFlowNodeInstance>public java.lang.String getName()
getName in interface State<SFlowNodeInstance>public boolean isInterrupting()
isInterrupting in interface State<SFlowNodeInstance>public boolean isStable()
isStable in interface State<SFlowNodeInstance>public boolean isTerminal()
StateisTerminal in interface State<SFlowNodeInstance>public boolean hit(SProcessDefinition processDefinition, SFlowNodeInstance parentInstance, SFlowNodeInstance childInstance)
Statehit in interface State<SFlowNodeInstance>public boolean shouldExecuteState(SProcessDefinition processDefinition, SFlowNodeInstance flowNodeInstance)
shouldExecuteState in interface FlowNodeStatepublic SStateCategory getStateCategory()
StategetStateCategory in interface State<SFlowNodeInstance>public boolean mustAddSystemComment(SFlowNodeInstance flowNodeInstance)
FlowNodeStatemustAddSystemComment in interface FlowNodeStatepublic java.lang.String getSystemComment(SFlowNodeInstance flowNodeInstance)
FlowNodeStategetSystemComment in interface FlowNodeState