Enum Class CachedShadowsUseType
java.lang.Object
java.lang.Enum<CachedShadowsUseType>
com.evolveum.midpoint.xml.ns._public.common.common_3.CachedShadowsUseType
- All Implemented Interfaces:
TypeSafeEnum,Serializable,Comparable<CachedShadowsUseType>,Constable
Whether (and how) we use cached shadows during processing.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionWhen we need the data from the shadow, we will use the cached data, if they are available.When we need the data from the shadow, we will use the cached data, if they are available.When we need the data from the shadow, we will use the cached data, if they are available.When we need the data from the shadow, we will fetch it from the resource. -
Method Summary
Modifier and TypeMethodDescriptionstatic CachedShadowsUseTypevalue()Returns enum value defined as in schema.static CachedShadowsUseTypeReturns the enum constant of this class with the specified name.static CachedShadowsUseType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
USE_FRESH
When we need the data from the shadow, we will fetch it from the resource. This is the same behavior as it was before midPoint 4.9. -
USE_CACHED_OR_FRESH
When we need the data from the shadow, we will use the cached data, if they are available. If they are not, we will fetch them from the resource. -
USE_CACHED_OR_IGNORE
When we need the data from the shadow, we will use the cached data, if they are available. If they are not, we will skip the respective part of the processing (e.g., a mapping). -
USE_CACHED_OR_FAIL
When we need the data from the shadow, we will use the cached data, if they are available. If they are not, we will fail.
-
-
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
-