Enum Class ResourceObjectVolatilityType
java.lang.Object
java.lang.Enum<ResourceObjectVolatilityType>
com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceObjectVolatilityType
- All Implemented Interfaces:
TypeSafeEnum
,Serializable
,Comparable<ResourceObjectVolatilityType>
,Constable
public enum ResourceObjectVolatilityType
extends Enum<ResourceObjectVolatilityType>
implements TypeSafeEnum
Specifies volatility of resource objects or their attributes, i.e. whether they can change without
explicitly requested by midPoint.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe object can change in insane ways as a reaction to changes made by midPoint.The object is behaving very seriously.The object can change at any time. -
Method Summary
Modifier and TypeMethodDescriptionstatic ResourceObjectVolatilityType
value()
Returns enum value defined as in schema.static ResourceObjectVolatilityType
Returns the enum constant of this class with the specified name.static ResourceObjectVolatilityType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
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
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
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 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
-