Uses of Class
fr.gouv.vitam.common.model.ProcessState
-
Packages that use ProcessState Package Description fr.gouv.vitam.access.external.client Providesfr.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.model Provides common Model classes for the Processing module.fr.gouv.vitam.processing.management.core Provides core implementation for the Processing Management module. -
-
Uses of ProcessState in fr.gouv.vitam.access.external.client
Methods in fr.gouv.vitam.access.external.client with parameters of type ProcessState Modifier and Type Method Description boolean
VitamPoolingClient. wait(int tenantId, java.lang.String processId, ProcessState state)
boolean
VitamPoolingClient. wait(int tenantId, java.lang.String processId, ProcessState state, int nbTry, long timeWait, java.util.concurrent.TimeUnit timeUnit)
This is a helper method for checking the status of an operation Loop until : - nbTry is reached - state is completed - state is pause and status ordinal is higher than started -
Uses of ProcessState in fr.gouv.vitam.common.model
Methods in fr.gouv.vitam.common.model that return ProcessState Modifier and Type Method Description ProcessState
ItemStatus. getGlobalState()
Get the global statestatic ProcessState
ProcessState. valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ProcessState[]
ProcessState. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in fr.gouv.vitam.common.model with parameters of type ProcessState Modifier and Type Method Description void
ProcessState. eval(ProcessState targetState)
Evaluate for the current state if the given state is permitted or notItemStatus
ItemStatus. setGlobalState(ProcessState globalState)
Constructors in fr.gouv.vitam.common.model with parameters of type ProcessState Constructor Description ItemStatus(java.lang.String itemId, java.lang.String message, StatusCode globalStatus, java.util.List<java.lang.Integer> statusMeter, java.util.Map<java.lang.String,java.lang.Object> data, java.util.LinkedHashMap<java.lang.String,ItemStatus> itemsStatus, ProcessState globalState)
-
Uses of ProcessState in fr.gouv.vitam.processing.common.model
Methods in fr.gouv.vitam.processing.common.model that return ProcessState Modifier and Type Method Description ProcessState
ProcessWorkflow. getState()
Set the state of the workflow processProcessState
ProcessWorkflow. getTargetState()
Methods in fr.gouv.vitam.processing.common.model with parameters of type ProcessState Modifier and Type Method Description ProcessWorkflow
ProcessWorkflow. setState(ProcessState state)
Get the state of the workflow processProcessWorkflow
ProcessWorkflow. setTargetState(ProcessState targetState)
Constructors in fr.gouv.vitam.processing.common.model with parameters of type ProcessState Constructor Description ProcessWorkflow(LogbookTypeProcess logbookTypeProcess, StatusCode status, ProcessState state)
-
Uses of ProcessState in fr.gouv.vitam.processing.management.core
Methods in fr.gouv.vitam.processing.management.core with parameters of type ProcessState Modifier and Type Method Description protected void
StateMachine. doRunning(WorkerParameters workerParameters, ProcessState targetState)
Change state of the process to running Can be called only from pause state
-