Class ProcessWorkflow
java.lang.Object
fr.gouv.vitam.processing.common.model.ProcessWorkflow
Proccess Workflow contains a different operations and status attribute
-
Constructor Summary
ConstructorsConstructorDescriptionProcessWorkflow(LogbookTypeProcess logbookTypeProcess, StatusCode status, ProcessState state) -
Method Summary
Modifier and TypeMethodDescriptiongetState()Set the state of the workflow processget the status of the processWorkflowgetSteps()booleansetApplicationId(String applicationId) setContextId(String contextId) setLogbookTypeProcess(LogbookTypeProcess logbookTypeProcess) setMessageIdentifier(String messageIdentifier) setOperationId(String operationId) setParameters(Map<String, String> parameters) setPauseRecover(PauseRecover pauseRecover) setProcessCompletedDate(LocalDateTime processCompletedDate) setProcessDate(String processDate) setProdService(String prodService) setState(ProcessState state) Get the state of the workflow processsetStatus(StatusCode status) set the status of the workflowsetStepByStep(boolean stepByStep) setSteps(List<ProcessStep> steps) setTargetState(ProcessState targetState) setTargetStatus(StatusCode targetStatus) setTenantId(Integer tenantId) setWorkflowId(String workflowId)
-
Constructor Details
-
ProcessWorkflow
public ProcessWorkflow() -
ProcessWorkflow
public ProcessWorkflow(LogbookTypeProcess logbookTypeProcess, StatusCode status, ProcessState state)
-
-
Method Details
-
getState
Set the state of the workflow process- Returns:
- ProcessState
-
setState
Get the state of the workflow process- Parameters:
state-
-
getTargetState
-
setTargetState
-
getSteps
-
setSteps
-
getStatus
get the status of the processWorkflow- Returns:
- StatusCode
-
setStatus
set the status of the workflow- Parameters:
status-- Returns:
- this
-
getTargetStatus
-
setTargetStatus
-
isStepByStep
public boolean isStepByStep() -
setStepByStep
-
getProcessDate
- Returns:
- the processDate
-
setProcessDate
- Parameters:
processDate- the processDate to set- Returns:
- this
-
getOperationId
- Returns:
- the operationId
-
setOperationId
- Parameters:
operationId- the operationId to set- Returns:
- this
-
getMessageIdentifier
- Returns:
- the messageIdentifier
-
setMessageIdentifier
- Parameters:
messageIdentifier- the messageIdentifier to set- Returns:
- this
-
getProdService
- Returns:
- the prodService
-
setProdService
- Parameters:
prodService- the prodService to set- Returns:
- this
-
getLogbookTypeProcess
- Returns:
- the logbookTypeProcess
-
setLogbookTypeProcess
- Parameters:
logbookTypeProcess- the logbookTypeProcess- Returns:
- this
-
getTenantId
- Returns:
- the tenant
-
setTenantId
- Parameters:
tenantId- to set- Returns:
- this
-
getWorkflowId
- Returns:
- the workflow IDENTIFIER
-
setWorkflowId
- Parameters:
workflowId- the workflow IDENTIFIER- Returns:
- current instance
-
getContextId
- Returns:
- The context id
-
setContextId
- Parameters:
contextId- the context ID- Returns:
- current instance
-
getApplicationId
-
setApplicationId
-
getProcessCompletedDate
-
setProcessCompletedDate
-
getPauseRecover
-
setPauseRecover
-
getParameters
-
setParameters
-