public class ProcessStep extends Step
Constructor and Description |
---|
ProcessStep(Step step,
long elementToProcess,
long elementProcessed)
Constructor to initialize a Process Step with a Step object
|
ProcessStep(Step step,
long elementToProcess,
long elementProcessed,
String id) |
ProcessStep(Step step,
String containerName,
String workflowId,
int position,
long elementToProcess,
long elementProcessed)
Constructor to initalize a Process Step with a Step object
|
ProcessStep(Step step,
String id,
String containerName,
String workflowId,
int position,
long elementToProcess,
long elementProcessed) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object object)
Considered equal two ProcessStep with the same id, step name and worker group id.
|
long |
getElementProcessed() |
long |
getElementToProcess() |
StatusCode |
getStepStatusCode() |
int |
hashCode() |
ProcessStep |
setElementProcessed(long elementProcessed) |
ProcessStep |
setElementToProcess(long elementToProcess) |
ProcessStep |
setStepStatusCode(StatusCode stepStatusCode) |
String |
toString() |
getActions, getBehavior, getDistribution, getId, getPauseOrCancelAction, getStepName, getStepResponses, getWorkerGroupId, isBlocking, setActions, setBehavior, setDistribution, setId, setPauseOrCancelAction, setStepName, setStepResponses, setWorkerGroupId, shallStop
public ProcessStep(Step step, long elementToProcess, long elementProcessed)
step
- the Step objectelementToProcess
- number of element to processelementProcessed
- number of element processedIllegalArgumentException
- if the step is nullpublic ProcessStep(Step step, String id, String containerName, String workflowId, int position, long elementToProcess, long elementProcessed)
public ProcessStep(Step step, String containerName, String workflowId, int position, long elementToProcess, long elementProcessed)
step
- the Step objectcontainerName
- the container name concerned by the processworkflowId
- the workflow ID concerned by the processposition
- the position of the stepelementToProcess
- number of element to processelementProcessed
- number of element processedIllegalArgumentException
- if the step is nullpublic long getElementProcessed()
public ProcessStep setElementProcessed(long elementProcessed)
elementProcessed
- the elementProcessed to setpublic long getElementToProcess()
public ProcessStep setElementToProcess(long elementToProcess)
elementToProcess
- the elementToProcess to setpublic StatusCode getStepStatusCode()
public ProcessStep setStepStatusCode(StatusCode stepStatusCode)
stepStatusCode
- the stepStatusCode to setpublic boolean equals(Object object)
Copyright © 2018 Vitam. All rights reserved.