Enum Class CauseType

java.lang.Object
java.lang.Enum<CauseType>
io.jenkins.plugins.batchcontrol.model.CauseType
All Implemented Interfaces:
Serializable, Comparable<CauseType>, Constable

@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public enum CauseType extends Enum<CauseType>
Classification of what caused a build, stored in a RunRecord.
  • Enum Constant Details

    • USER

      public static final CauseType USER
    • TIMER

      public static final CauseType TIMER
    • UPSTREAM

      public static final CauseType UPSTREAM
    • APPROVED_REQUEST

      public static final CauseType APPROVED_REQUEST
    • SCM

      public static final CauseType SCM
    • OTHER

      public static final CauseType OTHER
  • Method Details

    • values

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