public class PipelineStep extends Object implements LenientEquals<PipelineStep>, Serializable
Modifier and Type | Class and Description |
---|---|
static class |
PipelineStep.MetricInfo
Inner class to store metrics.
|
static class |
PipelineStep.Status
Enum to represent the status of a step.
|
Modifier and Type | Field and Description |
---|---|
static Comparator<PipelineStep> |
STEPS_BY_FINISHED_ASC
Comparator that sorts pipeline steps by start date and then by finished date in ascending order.
|
static Comparator<PipelineStep> |
STEPS_BY_TYPE_ASC |
Constructor and Description |
---|
PipelineStep() |
public static final Comparator<PipelineStep> STEPS_BY_TYPE_ASC
public static final Comparator<PipelineStep> STEPS_BY_FINISHED_ASC
public PipelineStep()
public long getKey()
public PipelineStep setType(StepType type)
public StepRunner getRunner()
public PipelineStep setRunner(StepRunner runner)
public LocalDateTime getStarted()
public PipelineStep setStarted(LocalDateTime started)
public LocalDateTime getFinished()
public PipelineStep setFinished(LocalDateTime finished)
public PipelineStep.Status getState()
public PipelineStep setState(PipelineStep.Status state)
public String getMessage()
public PipelineStep setMessage(String message)
public void setKey(long key)
public Long getNumberRecords()
public PipelineStep setNumberRecords(Long numberRecords)
public String getPipelinesVersion()
public PipelineStep setPipelinesVersion(String pipelinesVersion)
public String getCreatedBy()
public PipelineStep setCreatedBy(String createdBy)
public LocalDateTime getModified()
public PipelineStep setModified(LocalDateTime modified)
public String getModifiedBy()
public PipelineStep setModifiedBy(String modifiedBy)
public Set<PipelineStep.MetricInfo> getMetrics()
public PipelineStep setMetrics(Set<PipelineStep.MetricInfo> metrics)
public PipelineStep addMetricInfo(PipelineStep.MetricInfo metricInfo)
public boolean lenientEquals(PipelineStep other)
LenientEquals
lenientEquals
in interface LenientEquals<PipelineStep>
other
- To compare againstCopyright © 2024 Global Biodiversity Information Facility (GBIF). All rights reserved.