Enum Class ItemStatus

java.lang.Object
java.lang.Enum<ItemStatus>
jenkins.advancedqueue.sorter.ItemStatus
All Implemented Interfaces:
Serializable, Comparable<ItemStatus>, Constable

public enum ItemStatus extends Enum<ItemStatus>
Statuses for Build in the the queue, used to track status in ItemInfo
Since:
2.3
Author:
Magnus Sandberg
  • Enum Constant Details

    • WAITING

      public static final ItemStatus WAITING
    • BUILDABLE

      public static final ItemStatus BUILDABLE
    • BLOCKED

      public static final ItemStatus BLOCKED
  • Method Details

    • values

      public static ItemStatus[] 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 ItemStatus 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