Enum Class StatusType

java.lang.Object
java.lang.Enum<StatusType>
se.diabol.jenkins.pipeline.model.StatusType
All Implemented Interfaces:
Serializable, Comparable<StatusType>, Constable

public enum StatusType extends Enum<StatusType>
The state of a task, in the order the legend shows them.
  • Enum Constant Details

    • IDLE

      public static final StatusType IDLE
    • QUEUED

      public static final StatusType QUEUED
    • RUNNING

      public static final StatusType RUNNING
    • PAUSED_PENDING_INPUT

      public static final StatusType PAUSED_PENDING_INPUT
    • SUCCESS

      public static final StatusType SUCCESS
    • UNSTABLE

      public static final StatusType UNSTABLE
    • FAILED

      public static final StatusType FAILED
    • CANCELLED

      public static final StatusType CANCELLED
    • NOT_BUILT

      public static final StatusType NOT_BUILT
    • DISABLED

      public static final StatusType DISABLED
  • Method Details

    • values

      public static StatusType[] 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 StatusType 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
    • isFinished

      public boolean isFinished()
      Whether a build happened and came to an end.
    • isActive

      public boolean isActive()
      Whether a build is going on right now.