# Uses of Enum Class
fr.gouv.vitam.common.model.ProcessState

Packages that use ProcessState
Package
Description
fr.gouv.vitam.access.external.client
Provides
fr.gouv.vitam.common.model
This package contains simple POJOs and DTOs that may be shared commonly by all vitam internal components
fr.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.
fr.gouv.vitam.scheduler.server.job.auditobject

- ## 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, String processId, ProcessState state)`
  `boolean`
  VitamPoolingClient.`wait(int tenantId, String processId, ProcessState state, int nbTry, long timeWait, 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 state
  `static ProcessState`
  ProcessState.`valueOf(String name)`
  Returns the enum constant of this class with the specified name.
  `static ProcessState[]`
  ProcessState.`values()`
  Returns an array containing the constants of this enum class, 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 not
  `ItemStatus`
  ItemStatus.`setGlobalState(ProcessState globalState)`
  Constructors in fr.gouv.vitam.common.model with parameters of type ProcessState
  Modifier
  Constructor
  Description
  ``
  `ItemStatus(String itemId, String message, StatusCode globalStatus, List<Integer> statusMeter, Map<String,Object> data, LinkedHashMap<String,ItemStatus> itemsStatus, ProcessState globalState, List<ValidationError> validationErrors)`

- ## 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 process
  `ProcessState`
  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 process
  `ProcessWorkflow`
  ProcessWorkflow.`setTargetState(ProcessState targetState)`
  Constructors in fr.gouv.vitam.processing.common.model with parameters of type ProcessState
  Modifier
  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

- ## Uses of ProcessState in fr.gouv.vitam.scheduler.server.job.auditobject

  Methods in fr.gouv.vitam.scheduler.server.job.auditobject with parameters of type ProcessState
  Modifier and Type
  Method
  Description
  `static AuditProcessState`
  AuditProcessState.`wrap(ProcessState state)`