public class FlowNodeStateManagerImpl extends java.lang.Object implements FlowNodeStateManager
| Constructor and Description |
|---|
FlowNodeStateManagerImpl(ProcessDefinitionService processDefinitionService,
ProcessInstanceService processInstanceService,
ActivityInstanceService activityInstanceService,
ConnectorInstanceService connectorInstanceService,
ExpressionResolverService expressionResolverService,
OperationService operationService,
BPMInstancesCreator bpmInstancesCreator,
ContainerRegistry containerRegistry,
ArchiveService archiveService,
TechnicalLoggerService logger,
DocumentService documentService,
SCommentService commentService,
StateBehaviors stateBehaviors,
WaitingEventsInterrupter waitingEventsInterrupter,
ClassLoaderService classLoaderService,
RefBusinessDataService refBusinessDataService,
ProcessInstanceInterruptor processInstanceInterruptor) |
| Modifier and Type | Method and Description |
|---|---|
FlowNodeState |
getFailedState() |
FlowNodeState |
getFirstState(SFlowNodeType nodeType) |
FlowNodeState |
getNextNormalState(SProcessDefinition processDefinition,
SFlowNodeInstance flowNodeInstance,
int currentStateId) |
FlowNodeState |
getState(int stateId) |
StateBehaviors |
getStateBehaviors() |
java.util.Set<java.lang.String> |
getSupportedState(org.bonitasoft.engine.bpm.flownode.FlowNodeType nodeType) |
void |
setProcessExecutor(ProcessExecutor processExecutor) |
protected final java.util.Map<java.lang.Integer,FlowNodeState> states
protected final java.util.Map<SFlowNodeType,java.util.Map<java.lang.Integer,FlowNodeState>> normalTransitions
protected final java.util.Map<SFlowNodeType,java.util.Map<java.lang.Integer,FlowNodeState>> abortTransitions
protected final java.util.Map<SFlowNodeType,java.util.Map<java.lang.Integer,FlowNodeState>> cancelTransitions
protected java.util.Set<java.lang.Integer> unstableStates
protected java.util.Set<java.lang.Integer> stableStates
protected java.util.Set<java.lang.Integer> allStates
protected FailedActivityStateImpl failed
protected InitializingActivityStateImpl initializing
protected InitializingActivityWithBoundaryEventsStateImpl initializingActivityWithBoundary
protected InitializingBoundaryEventStateImpl initializingBoundaryEvent
protected ReadyActivityStateImpl ready
protected ExecutingAutomaticActivityStateImpl executingAutomaticActivity
protected ExecutingThrowEventStateImpl executingThrowEvent
protected CompletingCallActivityStateImpl completingCallActivity
protected CompletingActivityWithBoundaryStateImpl completingActivityWithBoundary
protected ExecutingCallActivityStateImpl executingCallActivity
protected CompletedActivityStateImpl completed
protected WaitingFlowNodeStateImpl waiting
protected SkippedFlowNodeStateImpl skipped
protected InitializingLoopActivityStateImpl initializingLoop
protected ExecutingLoopActivityStateImpl executingLoop
protected InitializingMultiInstanceActivityStateImpl initializingMultiInstance
protected ExecutingMultiInstanceActivityStateImpl executingMultiInstance
protected CancelledFlowNodeStateImpl cancelled
protected CancellingFlowNodeContainerChildrenStateImpl cancellingContainer
protected CancellingActivityWithBoundaryStateImpl cancellingActivityWithBoundary
protected CancellingFlowNodeStateImpl cancellingFlowNode
protected CancellingBoundaryAndIntermediateCatchEventStateImpl cancelingBoundaryAndIntermediateCatchEvent
protected CancellingCallActivityStateImpl cancellingCallActivity
protected AbortingFlowNodeContainerStateImpl abortingContainer
protected AbortingCallActivityStateImpl abortingCallActivity
protected AbortingFlowNodeStateImpl abortingFlowNode
protected AbortingActivityWithBoundaryStateImpl abortingActivityWithBoundary
protected AbortingBoundaryAndIntermediateCatchEventStateImpl abortingBoundaryAndIntermediateCatchEvent
protected AbortedFlowNodeStateImpl aborted
protected InterruptedFlowNodeState interruptedFlowNodeState
protected ExecutingFlowNodeStateImpl executing
protected ExecutingBoundaryEventStateImpl executingBoundaryEvent
protected InitializingAndExecutingFlowNodeStateImpl initializingAndExecuting
protected StateBehaviors stateBehaviors
protected CompletingSubTaskStateImpl completingSubTaskState
protected AbortingReceiveTaskStateImpl abortingReceiveTask
protected CancellingReceiveTaskStateImpl cancellingReceiveTask
public FlowNodeStateManagerImpl(ProcessDefinitionService processDefinitionService, ProcessInstanceService processInstanceService, ActivityInstanceService activityInstanceService, ConnectorInstanceService connectorInstanceService, ExpressionResolverService expressionResolverService, OperationService operationService, BPMInstancesCreator bpmInstancesCreator, ContainerRegistry containerRegistry, ArchiveService archiveService, TechnicalLoggerService logger, DocumentService documentService, SCommentService commentService, StateBehaviors stateBehaviors, WaitingEventsInterrupter waitingEventsInterrupter, ClassLoaderService classLoaderService, RefBusinessDataService refBusinessDataService, ProcessInstanceInterruptor processInstanceInterruptor)
public void setProcessExecutor(ProcessExecutor processExecutor)
setProcessExecutor in interface FlowNodeStateManagerpublic StateBehaviors getStateBehaviors()
getStateBehaviors in interface FlowNodeStateManagerpublic FlowNodeState getNextNormalState(SProcessDefinition processDefinition, SFlowNodeInstance flowNodeInstance, int currentStateId) throws SActivityExecutionException
getNextNormalState in interface FlowNodeStateManagerSActivityExecutionExceptionpublic FlowNodeState getFailedState()
getFailedState in interface FlowNodeStateManagerpublic FlowNodeState getState(int stateId)
getState in interface FlowNodeStateManagerpublic java.util.Set<java.lang.String> getSupportedState(org.bonitasoft.engine.bpm.flownode.FlowNodeType nodeType)
getSupportedState in interface FlowNodeStateManagerpublic FlowNodeState getFirstState(SFlowNodeType nodeType)
getFirstState in interface FlowNodeStateManager