Class JobPhase

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

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

    • JobPhase

      public JobPhase()
  • Method Details

    • of

      public static JobPhase of(String name, String label, double weight)
      Create a pending weighted phase.
    • getName

      public String getName()
      Getter for name
    • setName

      public void setName(String name)
      Setter for name
    • withName

      public JobPhase withName(String name)
      Fluent setter for name
    • getLabel

      public String getLabel()
      Getter for label
    • setLabel

      public void setLabel(String label)
      Setter for label
    • withLabel

      public JobPhase withLabel(String label)
      Fluent setter for label
    • getWeight

      public Double getWeight()
      Getter for weight
    • setWeight

      public void setWeight(Double weight)
      Setter for weight
    • withWeight

      public JobPhase withWeight(Double weight)
      Fluent setter for weight
    • getStatus

      public JobPhase.Status getStatus()
      Getter for status
    • setStatus

      public void setStatus(JobPhase.Status status)
      Setter for status
    • withStatus

      public JobPhase withStatus(JobPhase.Status status)
      Fluent setter for status