public abstract class EndingCallActivityExceptionStateImpl extends java.lang.Object implements FlowNodeState
ID_ACTIVITY_EXECUTING, ID_ACTIVITY_FAILED, ID_ACTIVITY_READY| Constructor and Description |
|---|
EndingCallActivityExceptionStateImpl(ProcessInstanceService processInstanceService,
ArchiveService archiveService,
SCommentService commentService,
DocumentService documentService,
TechnicalLoggerService logger,
ProcessDefinitionService processDefinitionService,
ConnectorInstanceService connectorInstanceService,
ClassLoaderService classLoaderService,
RefBusinessDataService refBusinessDataService,
ProcessInstanceInterruptor processInstanceInterruptor) |
| Modifier and Type | Method and Description |
|---|---|
StateCode |
execute(SProcessDefinition processDefinition,
SFlowNodeInstance instance) |
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 EndingCallActivityExceptionStateImpl(ProcessInstanceService processInstanceService, ArchiveService archiveService, SCommentService commentService, DocumentService documentService, TechnicalLoggerService logger, ProcessDefinitionService processDefinitionService, ConnectorInstanceService connectorInstanceService, ClassLoaderService classLoaderService, RefBusinessDataService refBusinessDataService, ProcessInstanceInterruptor processInstanceInterruptor)
public boolean shouldExecuteState(SProcessDefinition processDefinition, SFlowNodeInstance flowNodeInstance) throws SActivityExecutionException
shouldExecuteState in interface FlowNodeStateSActivityExecutionExceptionpublic StateCode execute(SProcessDefinition processDefinition, SFlowNodeInstance instance) throws SActivityStateExecutionException
execute in interface State<SFlowNodeInstance>SActivityStateExecutionExceptionpublic 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>