Class JobProgressSnapshot

java.lang.Object
com.kingsrook.qqq.backend.core.jobs.progress.JobProgressSnapshot
All Implemented Interfaces:
Serializable

public class JobProgressSnapshot extends Object implements Serializable
Counts and display text for job progress. Never contains row values.
See Also:
  • Constructor Details

    • JobProgressSnapshot

      public JobProgressSnapshot()
  • Method Details

    • getPhases

      public List<JobPhase> getPhases()
      Getter for phases
    • setPhases

      public void setPhases(List<JobPhase> phases)
      Setter for phases
    • withPhases

      public JobProgressSnapshot withPhases(List<JobPhase> phases)
      Fluent setter for phases
    • getCurrentPhase

      public String getCurrentPhase()
      Getter for currentPhase
    • setCurrentPhase

      public void setCurrentPhase(String currentPhase)
      Setter for currentPhase
    • withCurrentPhase

      public JobProgressSnapshot withCurrentPhase(String currentPhase)
      Fluent setter for currentPhase
    • getUnitLabel

      public String getUnitLabel()
      Getter for unitLabel
    • setUnitLabel

      public void setUnitLabel(String unitLabel)
      Setter for unitLabel
    • withUnitLabel

      public JobProgressSnapshot withUnitLabel(String unitLabel)
      Fluent setter for unitLabel
    • getDone

      public Long getDone()
      Getter for done
    • setDone

      public void setDone(Long done)
      Setter for done
    • withDone

      public JobProgressSnapshot withDone(Long done)
      Fluent setter for done
    • getTotal

      public Long getTotal()
      Getter for total
    • setTotal

      public void setTotal(Long total)
      Setter for total
    • withTotal

      public JobProgressSnapshot withTotal(Long total)
      Fluent setter for total
    • getBytesDone

      public Long getBytesDone()
      Getter for bytesDone
    • setBytesDone

      public void setBytesDone(Long bytesDone)
      Setter for bytesDone
    • withBytesDone

      public JobProgressSnapshot withBytesDone(Long bytesDone)
      Fluent setter for bytesDone
    • getBytesTotal

      public Long getBytesTotal()
      Getter for bytesTotal
    • setBytesTotal

      public void setBytesTotal(Long bytesTotal)
      Setter for bytesTotal
    • withBytesTotal

      public JobProgressSnapshot withBytesTotal(Long bytesTotal)
      Fluent setter for bytesTotal
    • getPercent

      public Double getPercent()
      Getter for percent
    • setPercent

      public void setPercent(Double percent)
      Setter for percent
    • withPercent

      public JobProgressSnapshot withPercent(Double percent)
      Fluent setter for percent
    • getEtaSeconds

      public Long getEtaSeconds()
      Getter for etaSeconds
    • setEtaSeconds

      public void setEtaSeconds(Long etaSeconds)
      Setter for etaSeconds
    • withEtaSeconds

      public JobProgressSnapshot withEtaSeconds(Long etaSeconds)
      Fluent setter for etaSeconds
    • getMessage

      public String getMessage()
      Getter for message
    • setMessage

      public void setMessage(String message)
      Setter for message
    • withMessage

      public JobProgressSnapshot withMessage(String message)
      Fluent setter for message
    • getUpdatedAt

      public Instant getUpdatedAt()
      Getter for updatedAt
    • setUpdatedAt

      public void setUpdatedAt(Instant updatedAt)
      Setter for updatedAt
    • withUpdatedAt

      public JobProgressSnapshot withUpdatedAt(Instant updatedAt)
      Fluent setter for updatedAt