Enum Class ShadowContentDescriptionType

java.lang.Object
java.lang.Enum<ShadowContentDescriptionType>
com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowContentDescriptionType
All Implemented Interfaces:
TypeSafeEnum, Serializable, Comparable<ShadowContentDescriptionType>, Constable

public enum ShadowContentDescriptionType extends Enum<ShadowContentDescriptionType> implements TypeSafeEnum
Describes what exactly is in the shadow, mainly regarding the origin of the data. Currently it is a simple enumeration. Later on we can add more detailed information here, like exactly what attributes are to be expected in the shadow.
  • Enum Constant Details

    • FROM_RESOURCE_COMPLETE

      public static final ShadowContentDescriptionType FROM_RESOURCE_COMPLETE
      The shadow comes from the resource. It should be relatively complete, meaning that at least the attributes provided by default (including associations) are present. This means that e.g. it is safe to cache it, run mappings against it, and so on.
    • FROM_RESOURCE_INCOMPLETE

      public static final ShadowContentDescriptionType FROM_RESOURCE_INCOMPLETE
      The shadow comes from the resource but we cannot assure it's complete. We should not cache it. It is questionable whether we should run mappings against it.
    • FROM_REPOSITORY

      public static final ShadowContentDescriptionType FROM_REPOSITORY
      The shadow comes from the cache, i.e., from the repository. Its expiration should be determined by examining cachingMetadata item. Note that the shadow may or may not really exist on the resource. The shadow lifecycle state must be examined to learn this.
    • NEW

      public static final ShadowContentDescriptionType NEW
      This is a shadow that is going to be created on the resource. Resource-provided attributes (like icfs:uid, or LDAP uid) should or may be missing.
    • IDENTIFICATION_ONLY

      public static final ShadowContentDescriptionType IDENTIFICATION_ONLY
      This shadow serves just as a holder of identifiers pointing to a real shadow. Used for shadow references.
  • Method Details

    • values

      public static ShadowContentDescriptionType[] 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 ShadowContentDescriptionType 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 ShadowContentDescriptionType fromValue(String v)