Enum DomainSpecification.Result

    • Enum Constant Detail

      • 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 Detail

      • values

        public static DomainSpecification.Result[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (DomainSpecification.Result c : DomainSpecification.Result.values())
            System.out.println(c);
        
        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.