Package org.gbif.api.model.pipelines
Class RunPipelineResponse.Builder
- java.lang.Object
-
- org.gbif.api.model.pipelines.RunPipelineResponse.Builder
-
- Enclosing class:
- RunPipelineResponse
public static class RunPipelineResponse.Builder extends Object
Builder forRunPipelineResponse
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RunPipelineResponse.Builder
addStep(StepType step)
RunPipelineResponse.Builder
addStepFailed(StepType stepFailed)
RunPipelineResponse
build()
RunPipelineResponse.Builder
setMessage(String message)
RunPipelineResponse.Builder
setResponseStatus(RunPipelineResponse.ResponseStatus responseStatus)
RunPipelineResponse.Builder
setSteps(Set<StepType> steps)
RunPipelineResponse.Builder
setStepsFailed(Set<StepType> stepsFailed)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
-
Method Detail
-
setResponseStatus
public RunPipelineResponse.Builder setResponseStatus(RunPipelineResponse.ResponseStatus responseStatus)
-
setSteps
public RunPipelineResponse.Builder setSteps(Set<StepType> steps)
-
addStep
public RunPipelineResponse.Builder addStep(StepType step)
-
setStepsFailed
public RunPipelineResponse.Builder setStepsFailed(Set<StepType> stepsFailed)
-
addStepFailed
public RunPipelineResponse.Builder addStepFailed(StepType stepFailed)
-
setMessage
public RunPipelineResponse.Builder setMessage(String message)
-
build
public RunPipelineResponse build()
-
-