Package org.azd.enums

Enum Class BuildReason

java.lang.Object
java.lang.Enum<BuildReason>
org.azd.enums.BuildReason
All Implemented Interfaces:
Serializable, Comparable<BuildReason>, java.lang.constant.Constable

public enum BuildReason extends Enum<BuildReason>
Represents the result of validating a build request.
  • Enum Constant Details

    • ALL

      public static final BuildReason ALL
      All reasons.
    • BATCHEDCI

      public static final BuildReason BATCHEDCI
      The build was started for the trigger TriggerType.BatchedContinuousIntegration.
    • BUILDCOMPLETION

      public static final BuildReason BUILDCOMPLETION
      The build was started when another build completed.
    • CHECKINSHELVESET

      public static final BuildReason CHECKINSHELVESET
      The build was started for the trigger ContinuousIntegrationType.Gated.
    • INDIVIDUALCI

      public static final BuildReason INDIVIDUALCI
      The build was started for the trigger TriggerType.ContinuousIntegration.
    • MANUAL

      public static final BuildReason MANUAL
      The build was started manually.
    • NONE

      public static final BuildReason NONE
      No reason. This value should not be used.
    • PULLREQUEST

      public static final BuildReason PULLREQUEST
      The build was started by a pull request. Added in resource version 3.
    • RESOURCETRIGGER

      public static final BuildReason RESOURCETRIGGER
      The build was started when resources in pipeline triggered it
    • SCHEDULE

      public static final BuildReason SCHEDULE
      The build was started for the trigger TriggerType.Schedule.
    • SCHEDULEFORCED

      public static final BuildReason SCHEDULEFORCED
      The build was started for the trigger TriggerType.ScheduleForced.
    • TRIGGERED

      public static final BuildReason TRIGGERED
      The build was triggered for retention policy purposes.
    • USERCREATED

      public static final BuildReason USERCREATED
      The build was created by a user.
    • VALIDATESHELVESET

      public static final BuildReason VALIDATESHELVESET
      was started manually for private validation,
  • Method Details

    • values

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