Package org.azd.enums

Enum Class ReleaseReason

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

public enum ReleaseReason extends Enum<ReleaseReason>
None
  • Enum Constant Details

    • CONTINUOUSINTEGRATION

      public static final ReleaseReason CONTINUOUSINTEGRATION
      Indicates the release triggered by continuous integration.
    • MANUAL

      public static final ReleaseReason MANUAL
      Indicates the release triggered manually.
    • NONE

      public static final ReleaseReason NONE
      Indicates the release triggered reason not set.
    • PULLREQUEST

      public static final ReleaseReason PULLREQUEST
      Indicates the release triggered by PullRequest.
    • SCHEDULE

      public static final ReleaseReason SCHEDULE
      Indicates the release triggered by schedule.
  • Method Details

    • values

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