public class PipelineProcess extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
static Comparator<PipelineExecution> |
PIPELINE_EXECUTION_BY_CREATED_ASC |
static Comparator<PipelineProcess> |
PIPELINE_PROCESS_BY_LATEST_EXEUCTION_ASC
Comparator that sorts the pipeline processes by the created date of the latest execution.
|
static Comparator<PipelineProcess> |
PIPELINE_PROCESS_BY_LATEST_STEP_RUNNING_ASC
Comparator that sorts pipeline processes by the start date of their latest step in ascending
order.
|
Constructor and Description |
---|
PipelineProcess() |
Modifier and Type | Method and Description |
---|---|
PipelineProcess |
addExecution(PipelineExecution execution) |
boolean |
equals(Object o) |
int |
getAttempt() |
LocalDateTime |
getCreated() |
String |
getCreatedBy() |
UUID |
getDatasetKey() |
String |
getDatasetTitle() |
Set<PipelineExecution> |
getExecutions() |
long |
getKey() |
int |
hashCode() |
PipelineProcess |
setAttempt(int attempt) |
PipelineProcess |
setCreated(LocalDateTime created) |
PipelineProcess |
setCreatedBy(String createdBy) |
PipelineProcess |
setDatasetKey(UUID datasetKey) |
void |
setDatasetTitle(String datasetTitle) |
void |
setExecutions(Set<PipelineExecution> executions) |
String |
toString() |
public static final Comparator<PipelineExecution> PIPELINE_EXECUTION_BY_CREATED_ASC
public static final Comparator<PipelineProcess> PIPELINE_PROCESS_BY_LATEST_EXEUCTION_ASC
public static final Comparator<PipelineProcess> PIPELINE_PROCESS_BY_LATEST_STEP_RUNNING_ASC
public PipelineProcess()
public long getKey()
public UUID getDatasetKey()
public PipelineProcess setDatasetKey(UUID datasetKey)
public String getDatasetTitle()
public void setDatasetTitle(String datasetTitle)
public int getAttempt()
public PipelineProcess setAttempt(int attempt)
public LocalDateTime getCreated()
public PipelineProcess setCreated(LocalDateTime created)
public String getCreatedBy()
public PipelineProcess setCreatedBy(String createdBy)
public Set<PipelineExecution> getExecutions()
public void setExecutions(Set<PipelineExecution> executions)
public PipelineProcess addExecution(PipelineExecution execution)
Copyright © 2024 Global Biodiversity Information Facility (GBIF). All rights reserved.