Enum Class EvaluatedPolicyRule.TargetType
java.lang.Object
java.lang.Enum<EvaluatedPolicyRule.TargetType>
com.evolveum.midpoint.model.api.context.EvaluatedPolicyRule.TargetType
- All Implemented Interfaces:
Serializable
,Comparable<EvaluatedPolicyRule.TargetType>
,Constable
- Enclosing interface:
- EvaluatedPolicyRule
To which object is the policy rule targeted, from the point of assignment mechanisms - and how?
For example, if it's assigned to the focus (to be applied either to the focus or the projections),
then it's
OBJECT
. If it's assigned directly to the assignment target, it's DIRECT_ASSIGNMENT_TARGET
.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe rule applies directly to the target of the current evaluated assignment (attached to this rule!).The rule applies to a different target (induced to focus), stemming from the current evaluated assignment (attached to this rule).Focus or projection -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static EvaluatedPolicyRule.TargetType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
OBJECT
Focus or projection -
DIRECT_ASSIGNMENT_TARGET
The rule applies directly to the target of the current evaluated assignment (attached to this rule!). -
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 Details
-
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
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 nameNullPointerException
- if the argument is null
-