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.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe shadow comes from the cache, i.e., from the repository.The shadow comes from the resource.The shadow comes from the resource but we cannot assure it's complete.This shadow serves just as a holder of identifiers pointing to a real shadow.This is a shadow that is going to be created on the resource. -
Method Summary
Modifier and TypeMethodDescriptionstatic ShadowContentDescriptionTypevalue()Returns enum value defined as in schema.static ShadowContentDescriptionTypeReturns the enum constant of this class with the specified name.static ShadowContentDescriptionType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
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
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
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
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
This shadow serves just as a holder of identifiers pointing to a real shadow. Used for shadow references.
-
-
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:TypeSafeEnumReturns enum value defined as in schema.- Specified by:
valuein interfaceTypeSafeEnum- Returns:
-
fromValue
-