Enum EvaluatedPolicyRule.TargetType

    • Enum Constant Detail

      • DIRECT_ASSIGNMENT_TARGET

        public static final EvaluatedPolicyRule.TargetType DIRECT_ASSIGNMENT_TARGET
        The rule applies directly to the target of the current evaluated assignment (attached to this rule!).
      • INDIRECT_ASSIGNMENT_TARGET

        public static final EvaluatedPolicyRule.TargetType INDIRECT_ASSIGNMENT_TARGET
        The rule applies to a different target (induced to focus), stemming from the current evaluated assignment (attached to this rule). An example: Let `Engineer` induce `Employee` which conflicts with `Contractor`. An SoD rule is attached to `Employee`. But let the user have assignments for `Engineer` and `Contractor` only. So the target type for such rule is this one.
    • Method Detail

      • values

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

        public static EvaluatedPolicyRule.TargetType 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