Enum TaskLog.Status

java.lang.Object
java.lang.Enum<TaskLog.Status>
com.pragmatickm.task.model.TaskLog.Status
All Implemented Interfaces:
Serializable, Comparable<TaskLog.Status>
Enclosing class:
TaskLog

public static enum TaskLog.Status extends Enum<TaskLog.Status>
  • Enum Constant Details

    • PROGRESS

      public static final TaskLog.Status PROGRESS
      Progress has been made, but more action still must be taken.
    • COMPLETED

      public static final TaskLog.Status COMPLETED
      The task has been completed.
    • NOTHING_TO_DO

      public static final TaskLog.Status NOTHING_TO_DO
      The task has been completed.
    • MISSED

      public static final TaskLog.Status MISSED
      The task was missed and will not be done.
  • Method Details

    • values

      public static TaskLog.Status[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static TaskLog.Status valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • getStatusByLabel

      public static TaskLog.Status getStatusByLabel(String label)
    • toString

      public String toString()
      Overrides:
      toString in class Enum<TaskLog.Status>
    • getLabel

      public String getLabel()
    • getLabelDoBefore

      public String getLabelDoBefore()
    • isCompletedSchedule

      public boolean isCompletedSchedule()
    • getName

      public String getName()
      JavaBeans compatibility.