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>
- 
Nested Class SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum ConstantsEnum ConstantDescriptionDefault shadow caching settings should be taken from the system configuration.The default is caching of all data, with long TTL.Emulates the default out-of-the-box settings in 4.9, with the following differences: .The default is no caching, just like it was in 4.8 and earlier.
- 
Method SummaryModifier and TypeMethodDescriptionstatic @NotNull InternalsConfig.ShadowCachingDefaultfromString(@Nullable String valueToFind) booleantoString()Returns the enum constant of this class with the specified name.static InternalsConfig.ShadowCachingDefault[]values()Returns an array containing the constants of this enum class, in the order they are declared.
- 
Enum Constant Details- 
FROM_SYSTEM_CONFIGURATIONDefault shadow caching settings should be taken from the system configuration.
- 
NONEThe default is no caching, just like it was in 4.8 and earlier.
- 
FULLThe default is caching of all data, with long TTL.
- 
FULL_BUT_USING_FRESHEmulates 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 toFULL, with a crucial difference in that it uses fresh data, not cached ones. This is the default value for tests.
 
- 
- 
Method Details- 
valuesReturns 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
 
- 
valueOfReturns 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- Overrides:
- toStringin class- Enum<InternalsConfig.ShadowCachingDefault>
 
- 
isStandardForTests@TestOnly public boolean isStandardForTests()
 
-