Class ProcessWorkflow

java.lang.Object
fr.gouv.vitam.processing.common.model.ProcessWorkflow

public class ProcessWorkflow extends Object
Proccess Workflow contains a different operations and status attribute
  • Constructor Details

  • Method Details

    • getState

      public ProcessState getState()
      Set the state of the workflow process
      Returns:
      ProcessState
    • setState

      public ProcessWorkflow setState(ProcessState state)
      Get the state of the workflow process
      Parameters:
      state -
    • getTargetState

      public ProcessState getTargetState()
    • setTargetState

      public ProcessWorkflow setTargetState(ProcessState targetState)
    • getSteps

      public List<ProcessStep> getSteps()
    • setSteps

      public ProcessWorkflow setSteps(List<ProcessStep> steps)
    • getStatus

      public StatusCode getStatus()
      get the status of the processWorkflow
      Returns:
      StatusCode
    • setStatus

      public ProcessWorkflow setStatus(StatusCode status)
      set the status of the workflow
      Parameters:
      status -
      Returns:
      this
    • getTargetStatus

      public StatusCode getTargetStatus()
    • setTargetStatus

      public ProcessWorkflow setTargetStatus(StatusCode targetStatus)
    • isStepByStep

      public boolean isStepByStep()
    • setStepByStep

      public ProcessWorkflow setStepByStep(boolean stepByStep)
    • getProcessDate

      public String getProcessDate()
      Returns:
      the processDate
    • setProcessDate

      public ProcessWorkflow setProcessDate(String processDate)
      Parameters:
      processDate - the processDate to set
      Returns:
      this
    • getOperationId

      public String getOperationId()
      Returns:
      the operationId
    • setOperationId

      public ProcessWorkflow setOperationId(String operationId)
      Parameters:
      operationId - the operationId to set
      Returns:
      this
    • getMessageIdentifier

      public String getMessageIdentifier()
      Returns:
      the messageIdentifier
    • setMessageIdentifier

      public ProcessWorkflow setMessageIdentifier(String messageIdentifier)
      Parameters:
      messageIdentifier - the messageIdentifier to set
      Returns:
      this
    • getProdService

      public String getProdService()
      Returns:
      the prodService
    • setProdService

      public ProcessWorkflow setProdService(String prodService)
      Parameters:
      prodService - the prodService to set
      Returns:
      this
    • getLogbookTypeProcess

      public LogbookTypeProcess getLogbookTypeProcess()
      Returns:
      the logbookTypeProcess
    • setLogbookTypeProcess

      public ProcessWorkflow setLogbookTypeProcess(LogbookTypeProcess logbookTypeProcess)
      Parameters:
      logbookTypeProcess - the logbookTypeProcess
      Returns:
      this
    • getTenantId

      public Integer getTenantId()
      Returns:
      the tenant
    • setTenantId

      public ProcessWorkflow setTenantId(Integer tenantId)
      Parameters:
      tenantId - to set
      Returns:
      this
    • getWorkflowId

      public String getWorkflowId()
      Returns:
      the workflow IDENTIFIER
    • setWorkflowId

      public ProcessWorkflow setWorkflowId(String workflowId)
      Parameters:
      workflowId - the workflow IDENTIFIER
      Returns:
      current instance
    • getContextId

      public String getContextId()
      Returns:
      The context id
    • setContextId

      public ProcessWorkflow setContextId(String contextId)
      Parameters:
      contextId - the context ID
      Returns:
      current instance
    • getApplicationId

      public String getApplicationId()
    • setApplicationId

      public ProcessWorkflow setApplicationId(String applicationId)
    • getProcessCompletedDate

      public LocalDateTime getProcessCompletedDate()
    • setProcessCompletedDate

      public ProcessWorkflow setProcessCompletedDate(LocalDateTime processCompletedDate)
    • getPauseRecover

      public PauseRecover getPauseRecover()
    • setPauseRecover

      public ProcessWorkflow setPauseRecover(PauseRecover pauseRecover)
    • getParameters

      public Map<String,String> getParameters()
    • setParameters

      public ProcessWorkflow setParameters(Map<String,String> parameters)