Class StepRecord

java.lang.Object
com.norconex.crawler.core.cluster.pipeline.StepRecord
All Implemented Interfaces:
Serializable

public class StepRecord extends Object implements Serializable
A record holding information on a pipeline execution current step.
See Also:
  • Constructor Details

    • StepRecord

      public StepRecord()
  • Method Details

    • hasTimedOut

      public boolean hasTimedOut(long timeoutMs)
    • getPipelineId

      public String getPipelineId()
    • getStepId

      public String getStepId()
    • getUpdatedAt

      public long getUpdatedAt()
    • getStatus

      public PipelineStatus getStatus()
    • getRunId

      public String getRunId()
    • setPipelineId

      public StepRecord setPipelineId(String pipelineId)
      Returns:
      this.
    • setStepId

      public StepRecord setStepId(String stepId)
      Returns:
      this.
    • setUpdatedAt

      public StepRecord setUpdatedAt(long updatedAt)
      Returns:
      this.
    • setStatus

      public StepRecord setStatus(PipelineStatus status)
      Returns:
      this.
    • setRunId

      public StepRecord setRunId(String runId)
      Returns:
      this.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object