Package org.azd.enums

Enum Class PolicyEvaluationStatus

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

public enum PolicyEvaluationStatus extends Enum<PolicyEvaluationStatus>
Policy type reference.
  • Enum Constant Details

    • APPROVED

      public static final PolicyEvaluationStatus APPROVED
      The policy has been fulfilled for this pull request.
    • BROKEN

      public static final PolicyEvaluationStatus BROKEN
      The policy has encountered an unexpected error.
    • NOTAPPLICABLE

      public static final PolicyEvaluationStatus NOTAPPLICABLE
      The policy does not apply to this pull request.
    • QUEUED

      public static final PolicyEvaluationStatus QUEUED
      The policy is either queued to run, or is waiting for some event before progressing.
    • REJECTED

      public static final PolicyEvaluationStatus REJECTED
      The policy has rejected this pull request.
    • RUNNING

      public static final PolicyEvaluationStatus RUNNING
      The policy is currently running.
  • Method Details

    • values

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