org.bonitasoft.engine.execution
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.classloader.ClassLoaderService classLoaderService,
org.bonitasoft.engine.core.expression.control.api.ExpressionResolverService expressionResolverService,
org.bonitasoft.engine.scheduler.SchedulerService schedulerService,
org.bonitasoft.engine.data.instance.api.DataInstanceService dataInstanceService,
org.bonitasoft.engine.core.process.instance.api.event.EventInstanceService eventInstanceService,
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.process.document.mapping.DocumentMappingService documentMappingService,
org.bonitasoft.engine.core.process.comment.api.SCommentService commentService,
EventsHandler eventsHandler,
org.bonitasoft.engine.core.filter.UserFilterService userFilterService,
org.bonitasoft.engine.actor.mapping.ActorMappingService actorMappingService,
org.bonitasoft.engine.work.WorkService workService,
org.bonitasoft.engine.core.process.instance.api.TokenService tokenService,
IdentityService identityService) |
| Modifier and Type | Method and Description |
|---|---|
Set<Integer> |
getAllStates() |
org.bonitasoft.engine.core.process.instance.api.states.FlowNodeState |
getCanceledState(org.bonitasoft.engine.core.process.instance.model.SFlowNodeInstance flownNodeInstance) |
org.bonitasoft.engine.core.process.instance.api.states.FlowNodeState |
getFailedState() |
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 |
getNormalFinalState(org.bonitasoft.engine.core.process.instance.model.SFlowNodeInstance flowNodeInstance) |
org.bonitasoft.engine.core.process.instance.api.states.FlowNodeState |
getSkippedState(org.bonitasoft.engine.core.process.instance.model.SFlowNodeInstance flownNodeInstance) |
Set<Integer> |
getStableStateIds() |
org.bonitasoft.engine.core.process.instance.api.states.FlowNodeState |
getState(int stateId) |
Set<String> |
getSupportedState(FlowNodeType nodeType) |
Set<Integer> |
getUnstableStateIds() |
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 InitializinAndExecutingFlowNodeStateImpl 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.classloader.ClassLoaderService classLoaderService, org.bonitasoft.engine.core.expression.control.api.ExpressionResolverService expressionResolverService, org.bonitasoft.engine.scheduler.SchedulerService schedulerService, org.bonitasoft.engine.data.instance.api.DataInstanceService dataInstanceService, org.bonitasoft.engine.core.process.instance.api.event.EventInstanceService eventInstanceService, 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.process.document.mapping.DocumentMappingService documentMappingService, org.bonitasoft.engine.core.process.comment.api.SCommentService commentService, EventsHandler eventsHandler, org.bonitasoft.engine.core.filter.UserFilterService userFilterService, org.bonitasoft.engine.actor.mapping.ActorMappingService actorMappingService, org.bonitasoft.engine.work.WorkService workService, org.bonitasoft.engine.core.process.instance.api.TokenService tokenService, IdentityService identityService)
public void setProcessExecutor(ProcessExecutor processExecutor)
setProcessExecutor 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 org.bonitasoft.engine.core.process.instance.api.states.FlowNodeState getNormalFinalState(org.bonitasoft.engine.core.process.instance.model.SFlowNodeInstance flowNodeInstance)
getNormalFinalState in interface FlowNodeStateManagerpublic org.bonitasoft.engine.core.process.instance.api.states.FlowNodeState getSkippedState(org.bonitasoft.engine.core.process.instance.model.SFlowNodeInstance flownNodeInstance)
getSkippedState in interface FlowNodeStateManagerpublic org.bonitasoft.engine.core.process.instance.api.states.FlowNodeState getCanceledState(org.bonitasoft.engine.core.process.instance.model.SFlowNodeInstance flownNodeInstance)
getCanceledState in interface FlowNodeStateManagerpublic Set<Integer> getUnstableStateIds()
getUnstableStateIds in interface FlowNodeStateManagerpublic Set<Integer> getStableStateIds()
getStableStateIds in interface FlowNodeStateManagerpublic Set<Integer> getAllStates()
getAllStates in interface FlowNodeStateManagerpublic Set<String> getSupportedState(FlowNodeType nodeType)
getSupportedState in interface FlowNodeStateManagerCopyright © 2014 Bonitasoft S.A.. All rights reserved.