Class JobProgressSnapshot
java.lang.Object
com.kingsrook.qqq.backend.core.jobs.progress.JobProgressSnapshot
- All Implemented Interfaces:
Serializable
Counts and display text for job progress. Never contains row values.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGetter for bytesDoneGetter for bytesTotalGetter for currentPhasegetDone()Getter for doneGetter for etaSecondsGetter for messageGetter for percentGetter for phasesgetTotal()Getter for totalGetter for unitLabelGetter for updatedAtvoidsetBytesDone(Long bytesDone) Setter for bytesDonevoidsetBytesTotal(Long bytesTotal) Setter for bytesTotalvoidsetCurrentPhase(String currentPhase) Setter for currentPhasevoidSetter for donevoidsetEtaSeconds(Long etaSeconds) Setter for etaSecondsvoidsetMessage(String message) Setter for messagevoidsetPercent(Double percent) Setter for percentvoidSetter for phasesvoidSetter for totalvoidsetUnitLabel(String unitLabel) Setter for unitLabelvoidsetUpdatedAt(Instant updatedAt) Setter for updatedAtwithBytesDone(Long bytesDone) Fluent setter for bytesDonewithBytesTotal(Long bytesTotal) Fluent setter for bytesTotalwithCurrentPhase(String currentPhase) Fluent setter for currentPhaseFluent setter for donewithEtaSeconds(Long etaSeconds) Fluent setter for etaSecondswithMessage(String message) Fluent setter for messagewithPercent(Double percent) Fluent setter for percentwithPhases(List<JobPhase> phases) Fluent setter for phasesFluent setter for totalwithUnitLabel(String unitLabel) Fluent setter for unitLabelwithUpdatedAt(Instant updatedAt) Fluent setter for updatedAt
-
Constructor Details
-
JobProgressSnapshot
public JobProgressSnapshot()
-
-
Method Details
-
getPhases
-
setPhases
-
withPhases
Fluent setter for phases -
getCurrentPhase
Getter for currentPhase -
setCurrentPhase
Setter for currentPhase -
withCurrentPhase
Fluent setter for currentPhase -
getUnitLabel
Getter for unitLabel -
setUnitLabel
Setter for unitLabel -
withUnitLabel
Fluent setter for unitLabel -
getDone
Getter for done -
setDone
Setter for done -
withDone
Fluent setter for done -
getTotal
Getter for total -
setTotal
Setter for total -
withTotal
Fluent setter for total -
getBytesDone
Getter for bytesDone -
setBytesDone
Setter for bytesDone -
withBytesDone
Fluent setter for bytesDone -
getBytesTotal
Getter for bytesTotal -
setBytesTotal
Setter for bytesTotal -
withBytesTotal
Fluent setter for bytesTotal -
getPercent
Getter for percent -
setPercent
Setter for percent -
withPercent
Fluent setter for percent -
getEtaSeconds
Getter for etaSeconds -
setEtaSeconds
Setter for etaSeconds -
withEtaSeconds
Fluent setter for etaSeconds -
getMessage
Getter for message -
setMessage
Setter for message -
withMessage
Fluent setter for message -
getUpdatedAt
Getter for updatedAt -
setUpdatedAt
Setter for updatedAt -
withUpdatedAt
Fluent setter for updatedAt
-