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

public enum CachedShadowsUseType extends Enum<CachedShadowsUseType> implements TypeSafeEnum
Whether (and how) we use cached shadows during processing.
  • Enum Constant Details

    • USE_FRESH

      public static final CachedShadowsUseType 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

      public static final CachedShadowsUseType 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

      public static final CachedShadowsUseType 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

      public static final CachedShadowsUseType 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

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