Enum ResourceObjectVolatilityType
- java.lang.Object
-
- java.lang.Enum<ResourceObjectVolatilityType>
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceObjectVolatilityType
-
- All Implemented Interfaces:
Serializable
,Comparable<ResourceObjectVolatilityType>
public enum ResourceObjectVolatilityType extends Enum<ResourceObjectVolatilityType>
Java class for ResourceObjectVolatilityType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="ResourceObjectVolatilityType"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="none"/> <enumeration value="unpredictable"/> <enumeration value="explosive"/> </restriction> </simpleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EXPLOSIVE
The object can change in insane ways as a reaction to changes made by midPoint.NONE
The object is behaving very seriously.UNPREDICTABLE
The object can change at any time.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ResourceObjectVolatilityType
fromValue(String v)
String
value()
static ResourceObjectVolatilityType
valueOf(String name)
Returns the enum constant of this type with the specified name.static ResourceObjectVolatilityType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final ResourceObjectVolatilityType NONE
The object is behaving very seriously. What you put there, stays there. No unexpected changes. (At least for the attributes you are interested in.)
-
UNPREDICTABLE
public static final ResourceObjectVolatilityType UNPREDICTABLE
The object can change at any time. Currently this means that midPoint reads the current state after any create or modify operation on that object. In the future we will introduce finer scale, e.g. "can change when created", "can change when updated", etc.
-
EXPLOSIVE
public static final ResourceObjectVolatilityType EXPLOSIVE
The object can change in insane ways as a reaction to changes made by midPoint. E.g. the attribute that was modified by midPoint can be modified in a different way by the resource (this sometimes happen for nested groups). There is no way how to handle such a volatile behavior other than to re-read the account and re-run reconciliation after every change that midPoint does. This really brutal solution. It is quite inefficient. But it may be the only option to reliably manage data in some resources.
-
-
Method Detail
-
values
public static ResourceObjectVolatilityType[] 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 (ResourceObjectVolatilityType c : ResourceObjectVolatilityType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ResourceObjectVolatilityType 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 ResourceObjectVolatilityType fromValue(String v)
-
-