Enum Class IdempotenceType
java.lang.Object
java.lang.Enum<IdempotenceType>
com.evolveum.midpoint.xml.ns._public.common.common_3.IdempotenceType
- All Implemented Interfaces:
TypeSafeEnum
,Serializable
,Comparable<IdempotenceType>
,Constable
This value indicates, whether the evaluation of this role gives the
same results regardless of its position in the assignment/inducement
hierarchy. I.e. evaluation of this roles does not depend on the assignment
parameters of focus or any of the preceding roles. This flag is used
to enable aggressive caching of role evaluation, so idempotent roles
are only evaluated once regardless of their position in the hierarchy
as we can assume that any subsequent evaluation will produce exactly
the same results as the first evaluation. This is a very important
feature that allows efficient evaluation of big role hierarchies.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThis value indicates, that the evaluation of this role gives the same results regardless of its position in the assignment/inducement hierarchy including different path lengths and evaluation orders.This value indicates, that the evaluation of this role gives the same results regardless of its position in the assignment/inducement hierarchy.Role is not idempotent. -
Method Summary
Modifier and TypeMethodDescriptionstatic IdempotenceType
value()
Returns enum value defined as in schema.static IdempotenceType
Returns the enum constant of this class with the specified name.static IdempotenceType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
Role is not idempotent. The role must be evaluated for all situations: all assignment paths, all orders, etc. -
CONSERVATIVE
This value indicates, that the evaluation of this role gives the same results regardless of its position in the assignment/inducement hierarchy. I.e. evaluation of this roles does not depend on the assignment parameters of focus or any of the preceding roles. However, the role will still be re-evaluated if it is found with assignment path of different depths or orders (e.g. in meta-role situations). -
AGGRESSIVE
This value indicates, that the evaluation of this role gives the same results regardless of its position in the assignment/inducement hierarchy including different path lengths and evaluation orders. I.e. evaluation of this roles does not depend on the assignment parameters of focus or any of the preceding roles and it has no meta-role capability (e.g. higher-order inducements).
-
-
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
-
value
Description copied from interface:TypeSafeEnum
Returns enum value defined as in schema.- Specified by:
value
in interfaceTypeSafeEnum
- Returns:
-
fromValue
-