Package org.gbif.api.model.pipelines
Class PipelineProcess
java.lang.Object
org.gbif.api.model.pipelines.PipelineProcess
- All Implemented Interfaces:
Serializable
Models a pipeline process for a specific dataset and attempt.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Comparator<PipelineExecution>
static final Comparator<PipelineProcess>
Comparator that sorts the pipeline processes by the created date of the latest execution.static final Comparator<PipelineProcess>
Comparator that sorts pipeline processes by the start date of their latest step in ascending order. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddExecution
(PipelineExecution execution) boolean
int
long
getKey()
int
hashCode()
setAttempt
(int attempt) setCreated
(LocalDateTime created) setCreatedBy
(String createdBy) setDatasetKey
(UUID datasetKey) void
setDatasetTitle
(String datasetTitle) void
setExecutions
(Set<PipelineExecution> executions) toString()
-
Field Details
-
PIPELINE_EXECUTION_BY_CREATED_ASC
-
PIPELINE_PROCESS_BY_LATEST_EXEUCTION_ASC
Comparator that sorts the pipeline processes by the created date of the latest execution. -
PIPELINE_PROCESS_BY_LATEST_STEP_RUNNING_ASC
Comparator that sorts pipeline processes by the start date of their latest step in ascending order. The steps that are running have preference, and we take into account only the steps of the latest execution.
-
-
Constructor Details
-
PipelineProcess
public PipelineProcess()
-
-
Method Details
-
getKey
-
getDatasetKey
-
setDatasetKey
-
getDatasetTitle
-
setDatasetTitle
-
getAttempt
-
setAttempt
-
getCreated
-
setCreated
-
getCreatedBy
-
setCreatedBy
-
getExecutions
-
setExecutions
-
addExecution
-
toString
-
equals
-
hashCode
-