Enum DomainSpecification.Result

java.lang.Object
java.lang.Enum<DomainSpecification.Result>
com.cloudbees.plugins.credentials.domains.DomainSpecification.Result
All Implemented Interfaces:
Serializable, Comparable<DomainSpecification.Result>
Enclosing class:
DomainSpecification

public static enum DomainSpecification.Result extends Enum<DomainSpecification.Result>
The results of any DomainRequirement test against a DomainSpecification.
Since:
1.5
  • Enum Constant Details

    • UNKNOWN

      public static final DomainSpecification.Result UNKNOWN
      The specification does not know this kind of scope, keep checking other specifications for this scope.
    • NEGATIVE

      public static final DomainSpecification.Result NEGATIVE
      The specification knows this kind of scope and it is not a match.
    • PARTIAL

      public static final DomainSpecification.Result PARTIAL
      The specification knows this kind of scope and it is a match, keep checking other specifications.
    • POSITIVE

      public static final DomainSpecification.Result POSITIVE
      The specification knows this kind of scope and it is a definitive match.
  • Method Details

    • values

      public static DomainSpecification.Result[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static DomainSpecification.Result valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null
    • isDefinitive

      public boolean isDefinitive()
      Returns true if the result definitive, in other words can processing be short-cut.
      Returns:
      true if the result definitive, in other words can processing be short-cut.
    • isMatch

      public boolean isMatch()
      Returns true if the result a match.
      Returns:
      true if the result a match.