public class FlowNodeStateManagerImpl extends Object implements FlowNodeStateManager
| Constructor and Description |
|---|
FlowNodeStateManagerImpl(ProcessDefinitionService processDefinitionService,
org.bonitasoft.engine.core.process.instance.api.ProcessInstanceService processInstanceService,
org.bonitasoft.engine.core.process.instance.api.ActivityInstanceService activityInstanceService,
org.bonitasoft.engine.core.connector.ConnectorInstanceService connectorInstanceService,
org.bonitasoft.engine.core.expression.control.api.ExpressionResolverService expressionResolverService,
org.bonitasoft.engine.data.instance.api.DataInstanceService dataInstanceService,
org.bonitasoft.engine.core.operation.OperationService operationService,
BPMInstancesCreator bpmInstancesCreator,
ContainerRegistry containerRegistry,
org.bonitasoft.engine.archive.ArchiveService archiveService,
org.bonitasoft.engine.log.technical.TechnicalLoggerService logger,
org.bonitasoft.engine.core.document.api.DocumentService documentService,
org.bonitasoft.engine.core.process.comment.api.SCommentService commentService,
StateBehaviors stateBehaviors,
WaitingEventsInterrupter waitingEventsInterrupter,
org.bonitasoft.engine.classloader.ClassLoaderService classLoaderService) |
| Modifier and Type | Method and Description |
|---|---|
org.bonitasoft.engine.core.process.instance.api.states.FlowNodeState |
getFailedState() |
org.bonitasoft.engine.core.process.instance.api.states.FlowNodeState |
getFirstState(SFlowNodeType nodeType) |
org.bonitasoft.engine.core.process.instance.api.states.FlowNodeState |
getNextNormalState(SProcessDefinition processDefinition,
org.bonitasoft.engine.core.process.instance.model.SFlowNodeInstance flowNodeInstance,
int currentStateId) |
org.bonitasoft.engine.core.process.instance.api.states.FlowNodeState |
getState(int stateId) |
StateBehaviors |
getStateBehaviors() |
Set<String> |
getSupportedState(FlowNodeType nodeType) |
void |
setProcessExecutor(ProcessExecutor processExecutor) |
protected final Map<Integer,org.bonitasoft.engine.core.process.instance.api.states.FlowNodeState> states
protected final Map<SFlowNodeType,Map<Integer,org.bonitasoft.engine.core.process.instance.api.states.FlowNodeState>> normalTransitions
protected final Map<SFlowNodeType,Map<Integer,org.bonitasoft.engine.core.process.instance.api.states.FlowNodeState>> abortTransitions
protected final Map<SFlowNodeType,Map<Integer,org.bonitasoft.engine.core.process.instance.api.states.FlowNodeState>> cancelTransitions
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, org.bonitasoft.engine.core.process.instance.api.ProcessInstanceService processInstanceService, org.bonitasoft.engine.core.process.instance.api.ActivityInstanceService activityInstanceService, org.bonitasoft.engine.core.connector.ConnectorInstanceService connectorInstanceService, org.bonitasoft.engine.core.expression.control.api.ExpressionResolverService expressionResolverService, org.bonitasoft.engine.data.instance.api.DataInstanceService dataInstanceService, org.bonitasoft.engine.core.operation.OperationService operationService, BPMInstancesCreator bpmInstancesCreator, ContainerRegistry containerRegistry, org.bonitasoft.engine.archive.ArchiveService archiveService, org.bonitasoft.engine.log.technical.TechnicalLoggerService logger, org.bonitasoft.engine.core.document.api.DocumentService documentService, org.bonitasoft.engine.core.process.comment.api.SCommentService commentService, StateBehaviors stateBehaviors, WaitingEventsInterrupter waitingEventsInterrupter, org.bonitasoft.engine.classloader.ClassLoaderService classLoaderService)
public void setProcessExecutor(ProcessExecutor processExecutor)
setProcessExecutor in interface FlowNodeStateManagerpublic StateBehaviors getStateBehaviors()
getStateBehaviors in interface FlowNodeStateManagerpublic org.bonitasoft.engine.core.process.instance.api.states.FlowNodeState getNextNormalState(SProcessDefinition processDefinition, org.bonitasoft.engine.core.process.instance.model.SFlowNodeInstance flowNodeInstance, int currentStateId) throws org.bonitasoft.engine.core.process.instance.api.exceptions.SActivityExecutionException
getNextNormalState in interface FlowNodeStateManagerorg.bonitasoft.engine.core.process.instance.api.exceptions.SActivityExecutionExceptionpublic org.bonitasoft.engine.core.process.instance.api.states.FlowNodeState getFailedState()
getFailedState in interface FlowNodeStateManagerpublic org.bonitasoft.engine.core.process.instance.api.states.FlowNodeState getState(int stateId)
getState in interface FlowNodeStateManagerpublic Set<String> getSupportedState(FlowNodeType nodeType)
getSupportedState in interface FlowNodeStateManagerpublic org.bonitasoft.engine.core.process.instance.api.states.FlowNodeState getFirstState(SFlowNodeType nodeType)
getFirstState in interface FlowNodeStateManagerCopyright © 2015 Bonitasoft S.A.. All rights reserved.