Package org.gbif.api.model.pipelines
Class RunPipelineResponse
- java.lang.Object
-
- org.gbif.api.model.pipelines.RunPipelineResponse
-
public class RunPipelineResponse extends Object
Encapsulates the possible response of the request of re-execute a pipeline of dataset and attempt.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RunPipelineResponse.Builder
Builder forRunPipelineResponse
.static class
RunPipelineResponse.ResponseStatus
Possible response statuses.
-
Constructor Summary
Constructors Constructor Description RunPipelineResponse()
RunPipelineResponse(RunPipelineResponse.ResponseStatus responseStatus, Set<StepType> steps, Set<StepType> stepsFailed, String message)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RunPipelineResponse.Builder
builder()
static RunPipelineResponse.Builder
builder(RunPipelineResponse runPipelineResponse)
boolean
equals(Object o)
String
getMessage()
RunPipelineResponse.ResponseStatus
getResponseStatus()
Set<StepType>
getSteps()
Set<StepType>
getStepsFailed()
int
hashCode()
-
-
-
Constructor Detail
-
RunPipelineResponse
public RunPipelineResponse()
-
RunPipelineResponse
public RunPipelineResponse(RunPipelineResponse.ResponseStatus responseStatus, Set<StepType> steps, Set<StepType> stepsFailed, String message)
-
-
Method Detail
-
getResponseStatus
public RunPipelineResponse.ResponseStatus getResponseStatus()
- Returns:
- the response status of execution request
-
getMessage
public String getMessage()
-
getStepsFailed
public Set<StepType> getStepsFailed()
-
builder
public static RunPipelineResponse.Builder builder()
- Returns:
- a new Builder instance.
-
builder
public static RunPipelineResponse.Builder builder(RunPipelineResponse runPipelineResponse)
- Returns:
- a new Builder instance.
-
-