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.
  • Enum Constant Details

    • 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 Details

    • values

      public static ResourceObjectVolatilityType[] 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

      public static ResourceObjectVolatilityType valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • value

      public String value()
      Description copied from interface: TypeSafeEnum
      Returns enum value defined as in schema.
      Specified by:
      value in interface TypeSafeEnum
      Returns:
    • fromValue

      public static ResourceObjectVolatilityType fromValue(String v)