Enum Class InternalsConfig.ShadowCachingDefault

java.lang.Object
java.lang.Enum<InternalsConfig.ShadowCachingDefault>
com.evolveum.midpoint.schema.internals.InternalsConfig.ShadowCachingDefault
All Implemented Interfaces:
Serializable, Comparable<InternalsConfig.ShadowCachingDefault>, Constable
Enclosing class:
InternalsConfig

public static enum InternalsConfig.ShadowCachingDefault extends Enum<InternalsConfig.ShadowCachingDefault>
  • Enum Constant Details

    • FROM_SYSTEM_CONFIGURATION

      public static final InternalsConfig.ShadowCachingDefault FROM_SYSTEM_CONFIGURATION
      Default shadow caching settings should be taken from the system configuration.
    • NONE

      @TestOnly public static final InternalsConfig.ShadowCachingDefault NONE
      The default is no caching, just like it was in 4.8 and earlier.
    • FULL

      @TestOnly public static final InternalsConfig.ShadowCachingDefault FULL
      The default is caching of all data, with long TTL.
    • FULL_BUT_USING_FRESH

      @TestOnly public static final InternalsConfig.ShadowCachingDefault FULL_BUT_USING_FRESH
      Emulates the default out-of-the-box settings in 4.9, with the following differences: . TTL is long, to avoid breaking tests that manipulate the clock (note that the standard TTL is 1 day for practical reasons); . caches all attributes, not only the defined ones (but this may change in the future). Effectively, it is quite similar to FULL, with a crucial difference in that it uses fresh data, not cached ones. This is the default value for tests.
  • Method Details

    • values

      public static InternalsConfig.ShadowCachingDefault[] 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 InternalsConfig.ShadowCachingDefault 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
    • fromString

      @NotNull public static @NotNull InternalsConfig.ShadowCachingDefault fromString(@Nullable @Nullable String valueToFind)
    • toString

      public String toString()
      Overrides:
      toString in class Enum<InternalsConfig.ShadowCachingDefault>
    • isStandardForTests

      @TestOnly public boolean isStandardForTests()