Uses of Class
fr.gouv.vitam.common.exception.StateNotAllowedException
Package
Description
This package contains simple POJOs and DTOs that may be shared commonly by all vitam internal components
Provides API classes for the Processing Management module
Provides core implementation for the Processing Management module.
-
Uses of StateNotAllowedException in fr.gouv.vitam.common.model
Modifier and TypeMethodDescriptionvoid
ProcessState.eval
(ProcessState targetState) Evaluate for the current state if the given state is permitted or not -
Uses of StateNotAllowedException in fr.gouv.vitam.processing.common.automation
Modifier and TypeMethodDescriptionvoid
IEventsState.cancel()
Cancel as soon as possible the processWorkflow, To do that, the step pauseCancelAction is updated to be PauseOrCancelAction.ACTION_CANCEL Unlike pause, - The final step should be executed, - PauseOrCancelAction.ACTION_CANCEL have no impact on the final step - The final step cannot be cancelledvoid
IEventsState.next
(WorkerParameters workerParameters) Like a resume but pause at the next stepvoid
IEventsState.pause()
Pause the processWorkflow, If the last step the just wait the final step Else pause the processWorkflow as soon as possible Do not wait all elements of the current step to be executed The step pauseCancelAction will be updated to PauseOrCancelAction.ACTION_PAUSE If all elements of the current step are executed then stop correctly and step pauseCancelAction will be updated to PauseOrCancelAction.ACTION_COMPLETE After next or resume occurs on paused processWorkflow, It will starts from the step pauseCancelAction equals to PauseOrCancelAction.ACTION_PAUSE if exists and update pauseCancelAction to be PauseOrCancelAction.ACTION_RECOVER Else starts normally from the next stepvoid
IEventsState.replay
(WorkerParameters workerParameters) Replay the last executed step, or if it s stated, the step passed as a parametervoid
IEventsState.resume
(WorkerParameters workerParameters) Do an evaluation of the State RUNNING If the state is not permitted a StateNotAllowedException is thrown Else call doRunning method -
Uses of StateNotAllowedException in fr.gouv.vitam.processing.management.api
Modifier and TypeMethodDescriptionHandle a cancel action for the corresponding process workflowProcessManagement.next
(WorkerParameters workerParameters, Integer tenantId) Handle a next action for the corresponding process workflowHandle a pause action for the corresponding process workflowProcessManagement.replay
(WorkerParameters workerParameters, Integer tenantId) Handle a replay action for the corresponding process workflowProcessManagement.resume
(WorkerParameters workerParameters, Integer tenantId, boolean useForcedPause) Handle a resume action for the corresponding process workflow -
Uses of StateNotAllowedException in fr.gouv.vitam.processing.management.core
Modifier and TypeMethodDescriptionvoid
StateMachine.cancel()
ProcessManagementImpl.execute
(String operationId, Integer tenantId, WorkerParameters workerParameters, Boolean useForcedPause, ProcessAction action) ProcessManagementImpl.next
(WorkerParameters workerParameters, Integer tenantId) void
StateMachine.next
(WorkerParameters workerParameters) void
StateMachine.pause()
ProcessManagementImpl.replay
(WorkerParameters workerParameters, Integer tenantId) void
StateMachine.replay
(WorkerParameters workerParameters) ProcessManagementImpl.resume
(WorkerParameters workerParameters, Integer tenantId, boolean useForcedPause) void
StateMachine.resume
(WorkerParameters workerParameters)