Package org.azd.enums

Enum Class BuildReason

java.lang.Object
java.lang.Enum<BuildReason>
org.azd.enums.BuildReason
All Implemented Interfaces:
Serializable, Comparable<BuildReason>, 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.
    • BATCHED_CI

      public static final BuildReason BATCHED_CI
      The build was started for the trigger TriggerType.BatchedContinuousIntegration.
    • BUILD_COMPLETION

      public static final BuildReason BUILD_COMPLETION
      The build was started when another build completed.
    • CHECK_IN_SHELVE_SET

      public static final BuildReason CHECK_IN_SHELVE_SET
      The build was started for the trigger ContinuousIntegrationType.Gated.
    • INDIVIDUAL_CI

      public static final BuildReason INDIVIDUAL_CI
      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.
    • PULL_REQUEST

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

      public static final BuildReason RESOURCE_TRIGGER
      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.
    • SCHEDULE_FORCED

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

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

      public static final BuildReason USER_CREATED
      The build was created by a user.
    • VALIDATE_SHELVE_SET

      public static final BuildReason VALIDATE_SHELVE_SET
      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