Enum Class ProgressBean.Type

java.lang.Object
java.lang.Enum<ProgressBean.Type>
ch.tocco.nice2.tasks.api.progress.ProgressBean.Type
All Implemented Interfaces:
Serializable, Comparable<ProgressBean.Type>, Constable
Enclosing class:
ProgressBean

public static enum ProgressBean.Type extends Enum<ProgressBean.Type>
  • Enum Constant Details

    • PENDING

      public static final ProgressBean.Type PENDING
      The task is not started yet.
    • RUNNING_INFINITE

      public static final ProgressBean.Type RUNNING_INFINITE
      The task is running and is currently doing something that can not be stated absolutely (e.g. "extracting archive", "cleaning up", ...)
    • RUNNING_ABSOLUTE

      public static final ProgressBean.Type RUNNING_ABSOLUTE
      The task is running and is currently doing something that can be stated absolutely (e.g. "34 of 212 files imported", "2 of 9 mails sent", ...)
    • CANCELLED

      public static final ProgressBean.Type CANCELLED
      The task is cancelled.
    • COMPLETED

      public static final ProgressBean.Type COMPLETED
      The task is completed.
    • FAILED

      public static final ProgressBean.Type FAILED
      The task has failed.
  • Method Details

    • values

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

      public static ProgressBean.Type valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • isFinal

      public boolean isFinal()