Class ProcessStep
java.lang.Object
fr.gouv.vitam.common.model.processing.Step
fr.gouv.vitam.processing.common.model.ProcessStep
Step Object in process workflow
- 
Constructor SummaryConstructorsConstructorDescriptionProcessStep(Step step, String containerName, String workflowId, int position, AtomicLong elementToProcess, AtomicLong elementProcessed) Constructor to initalize a Process Step with a Step objectProcessStep(Step step, String id, String containerName, String workflowId, int position, AtomicLong elementToProcess, AtomicLong elementProcessed) ProcessStep(Step step, AtomicLong elementToProcess, AtomicLong elementProcessed) Constructor to initialize a Process Step with a Step objectProcessStep(Step step, AtomicLong elementToProcess, AtomicLong elementProcessed, String id) 
- 
Method SummaryModifier and TypeMethodDescriptionbooleanConsidered equal two ProcessStep with the same id, step name and worker group id.booleaninthashCode()booleansetElementProcessed(AtomicLong elementProcessed) setElementToProcess(AtomicLong elementToProcess) voidsetLastStep(boolean lastStep) setStepStatusCode(StatusCode stepStatusCode) toString()Methods inherited from class fr.gouv.vitam.common.model.processing.StepdefaultLifecycleLog, getActions, getBehavior, getDistribution, getId, getPauseOrCancelAction, getStepName, getStepResponses, getWaitFor, getWorkerGroupId, isBlocking, isCancellable, isFinally, setActions, setBehavior, setCancellable, setDistribution, setId, setPauseOrCancelAction, setStepName, setStepResponses, setWaitFor, setWorkerGroupId
- 
Constructor Details- 
ProcessStep
- 
ProcessStepConstructor to initialize a Process Step with a Step object- Parameters:
- step- the Step object
- elementToProcess- number of element to process
- elementProcessed- number of element processed
- Throws:
- IllegalArgumentException- if the step is null
 
- 
ProcessSteppublic ProcessStep(Step step, String id, String containerName, String workflowId, int position, AtomicLong elementToProcess, AtomicLong elementProcessed) 
- 
ProcessSteppublic ProcessStep(Step step, String containerName, String workflowId, int position, AtomicLong elementToProcess, AtomicLong elementProcessed) Constructor to initalize a Process Step with a Step object- Parameters:
- step- the Step object
- containerName- the container name concerned by the process
- workflowId- the workflow ID concerned by the process
- position- the position of the step
- elementToProcess- number of element to process
- elementProcessed- number of element processed
- Throws:
- IllegalArgumentException- if the step is null
 
 
- 
- 
Method Details- 
isBlockingKOpublic boolean isBlockingKO()
- 
getElementProcessed- Returns:
- the elementProcessed
 
- 
setElementProcessed- Parameters:
- elementProcessed- the elementProcessed to set
- Returns:
- the updated ProcessStep object
 
- 
getElementToProcess- Returns:
- the elementToProcess
 
- 
setElementToProcess- Parameters:
- elementToProcess- the elementToProcess to set
- Returns:
- the updated ProcessStep object
 
- 
getStepStatusCode- Returns:
- the stepStatusCode
 
- 
setStepStatusCode- Parameters:
- stepStatusCode- the stepStatusCode to set
- Returns:
- the updated ProcessStep object
 
- 
equalsConsidered equal two ProcessStep with the same id, step name and worker group id.
- 
hashCodepublic int hashCode()
- 
toString
- 
setLastSteppublic void setLastStep(boolean lastStep) 
- 
getLastSteppublic boolean getLastStep()
 
-