Uses of Class
fr.gouv.vitam.common.exception.StateNotAllowedException
-
Packages that use StateNotAllowedException Package Description fr.gouv.vitam.common.model This package contains simple POJOs and DTOs that may be shared commonly by all vitam internal componentsfr.gouv.vitam.processing.common.automation fr.gouv.vitam.processing.management.api Provides API classes for the Processing Management modulefr.gouv.vitam.processing.management.core Provides core implementation for the Processing Management module. -
-
Uses of StateNotAllowedException in fr.gouv.vitam.common.model
Methods in fr.gouv.vitam.common.model that throw StateNotAllowedException Modifier and Type Method Description void
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
Methods in fr.gouv.vitam.processing.common.automation that throw StateNotAllowedException Modifier and Type Method Description void
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
Methods in fr.gouv.vitam.processing.management.api that throw StateNotAllowedException Modifier and Type Method Description ItemStatus
ProcessManagement. cancel(java.lang.String operationId, java.lang.Integer tenantId)
Handle a cancel action for the corresponding process workflowItemStatus
ProcessManagement. next(WorkerParameters workerParameters, java.lang.Integer tenantId)
Handle a next action for the corresponding process workflowItemStatus
ProcessManagement. pause(java.lang.String operationId, java.lang.Integer tenantId)
Handle a pause action for the corresponding process workflowItemStatus
ProcessManagement. replay(WorkerParameters workerParameters, java.lang.Integer tenantId)
Handle a replay action for the corresponding process workflowItemStatus
ProcessManagement. resume(WorkerParameters workerParameters, java.lang.Integer tenantId, boolean useForcedPause)
Handle a resume action for the corresponding process workflow -
Uses of StateNotAllowedException in fr.gouv.vitam.processing.management.core
Methods in fr.gouv.vitam.processing.management.core that throw StateNotAllowedException Modifier and Type Method Description ItemStatus
ProcessManagementImpl. cancel(java.lang.String operationId, java.lang.Integer tenantId)
void
StateMachine. cancel()
ItemStatus
ProcessManagementImpl. execute(java.lang.String operationId, java.lang.Integer tenantId, WorkerParameters workerParameters, java.lang.Boolean useForcedPause, ProcessAction action)
ItemStatus
ProcessManagementImpl. next(WorkerParameters workerParameters, java.lang.Integer tenantId)
void
StateMachine. next(WorkerParameters workerParameters)
ItemStatus
ProcessManagementImpl. pause(java.lang.String operationId, java.lang.Integer tenantId)
void
StateMachine. pause()
ItemStatus
ProcessManagementImpl. replay(WorkerParameters workerParameters, java.lang.Integer tenantId)
void
StateMachine. replay(WorkerParameters workerParameters)
ItemStatus
ProcessManagementImpl. resume(WorkerParameters workerParameters, java.lang.Integer tenantId, boolean useForcedPause)
void
StateMachine. resume(WorkerParameters workerParameters)
-