Enum IdempotenceType
- java.lang.Object
-
- java.lang.Enum<IdempotenceType>
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.IdempotenceType
-
- All Implemented Interfaces:
Serializable
,Comparable<IdempotenceType>
public enum IdempotenceType extends Enum<IdempotenceType>
Java class for IdempotenceType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="IdempotenceType"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="none"/> <enumeration value="conservative"/> <enumeration value="aggressive"/> </restriction> </simpleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description 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.CONSERVATIVE
This value indicates, that the evaluation of this role gives the same results regardless of its position in the assignment/inducement hierarchy.NONE
Role is not idempotent.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IdempotenceType
fromValue(String v)
String
value()
static IdempotenceType
valueOf(String name)
Returns the enum constant of this type with the specified name.static IdempotenceType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final IdempotenceType NONE
Role is not idempotent. The role must be evaluated for all situations: all assignment paths, all orders, etc.
-
CONSERVATIVE
public static final IdempotenceType 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
public static final IdempotenceType 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 Detail
-
values
public static IdempotenceType[] 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 (IdempotenceType c : IdempotenceType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IdempotenceType 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 nameNullPointerException
- if the argument is null
-
value
public String value()
-
fromValue
public static IdempotenceType fromValue(String v)
-
-