public abstract class EndingActivityWithBoundaryStateImpl extends java.lang.Object implements FlowNodeState
ID_ACTIVITY_EXECUTING, ID_ACTIVITY_FAILED, ID_ACTIVITY_READY| Constructor and Description |
|---|
EndingActivityWithBoundaryStateImpl(StateBehaviors stateBehaviors) |
| Modifier and Type | Method and Description |
|---|---|
StateCode |
execute(SProcessDefinition processDefinition,
SFlowNodeInstance instance) |
abstract SStateCategory |
getBoundaryCategoryState() |
StateBehaviors |
getStateBehaviors() |
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 |
shouldExecuteState(SProcessDefinition processDefinition,
SFlowNodeInstance flowNodeInstance) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetSystemComment, mustAddSystemCommentgetId, getName, getStateCategorypublic EndingActivityWithBoundaryStateImpl(StateBehaviors stateBehaviors)
public boolean shouldExecuteState(SProcessDefinition processDefinition, SFlowNodeInstance flowNodeInstance)
shouldExecuteState in interface FlowNodeStatepublic StateCode execute(SProcessDefinition processDefinition, SFlowNodeInstance instance) throws SActivityStateExecutionException
execute in interface State<SFlowNodeInstance>SActivityStateExecutionExceptionpublic abstract SStateCategory getBoundaryCategoryState()
public boolean hit(SProcessDefinition processDefinition, SFlowNodeInstance parentInstance, SFlowNodeInstance childInstance)
Statehit 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 StateBehaviors getStateBehaviors()