Enum Class DefinitionUpdateOption

java.lang.Object
java.lang.Enum<DefinitionUpdateOption>
com.evolveum.midpoint.schema.DefinitionUpdateOption
All Implemented Interfaces:
Serializable, Comparable<DefinitionUpdateOption>, Constable

@Experimental public enum DefinitionUpdateOption extends Enum<DefinitionUpdateOption>
Should be definitions updated after an object is retrieved via model API? See `applySchemasAndSecurity` method. Applicable only on the root level. TEMPORARY, mainly for the purposes of experiments with various approaches during midPoint 4.8 development.
  • Enum Constant Details

    • NONE

      public static final DefinitionUpdateOption NONE
      The object or container definition is not to be updated at all.
    • ROOT_ONLY

      public static final DefinitionUpdateOption ROOT_ONLY
      Only the definition at the root level (object or container) is updated. Definitions of the child items (if any) are not touched. For example, the client may apply the root definition if needed.
    • DEEP

      public static final DefinitionUpdateOption DEEP
      Updated definition is propagated onto all items in the returned structure.
  • Method Details

    • values

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