Enum ClaimRuleOperation

    • Enum Constant Detail

      • PROHIBITED

        public static final ClaimRuleOperation PROHIBITED
        The rule will fail if the claim is present and has a value.
      • PRESENT

        public static final ClaimRuleOperation PRESENT
        The rule will pass if the claim is present and has a value.
      • EQUALS

        public static final ClaimRuleOperation EQUALS
        The rule will pass if the claim is present and its value equals the claim rule's comparison value.
    • Method Detail

      • values

        public static ClaimRuleOperation[] 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 (ClaimRuleOperation c : ClaimRuleOperation.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ClaimRuleOperation 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
      • getValue

        public short getValue()
        Get the numerical value for this operation.
        Returns:
        The numerical value for this operation.
        Since:
        2.39
      • getByValue

        public static ClaimRuleOperation getByValue​(short value)
        Get the enum object with the given numerical value, or null if not found.
        Parameters:
        value - The numerical value to search for.
        Returns:
        The enum object, or null if not found.
        Since:
        2.39