Class InternalsConfig
java.lang.Object
com.evolveum.midpoint.schema.internals.InternalsConfig
- Author:
- semancik
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic booleanChecks for consistency of data structures (e.g.static ShadowCachingPolicyTypeThis is the default caching policy to be used if the default policy is not taken from the system configuration.static booleanstatic booleanstatic @Nullable StringThis is the default setting forshadowCachingDefault(if the respective system property is not present). -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull InternalsConfig.ShadowCachingDefaultstatic TestingPathsstatic booleanstatic booleanstatic booleanstatic booleanstatic booleanstatic booleanstatic booleanstatic booleanstatic booleanstatic booleanIf true, then the cache is turned on by default with long TTL, and for all attributes.static booleanstatic booleanstatic voidreset()static voidstatic voidset(org.apache.commons.configuration2.Configuration internalsConfig) static voidsetAllowClearDataLogging(boolean allowClearDataLogging) static voidsetAvoidLoggingChange(boolean avoidLoggingChange) static voidsetConsistencyChecks(boolean consistencyChecks) static voidsetDetailedAuthorizationLog(boolean detailedAuthorizationLog) static voidstatic voidsetEncryptionChecks(boolean encryptionChecks) static voidsetModelProfiling(boolean modelProfiling) static voidsetPrismMonitoring(boolean prismMonitoring) static voidsetReadEncryptionChecks(boolean readEncryptionChecks) static voidsetSanityChecks(boolean sanityChecks) static voidsetShadowCachingDefault(@NotNull InternalsConfig.ShadowCachingDefault shadowCachingDefault) Use with care! The standard way is to provide the default for tests via the system property.static voidsetTestingPaths(TestingPaths testingPaths) static voidstatic void
-
Field Details
-
consistencyChecks
public static boolean consistencyChecksChecks for consistency of data structures (e.g. prism objects, containers, contexts). -
encryptionChecks
public static boolean encryptionChecks -
readEncryptionChecks
public static boolean readEncryptionChecks -
shadowCachingDefaultDefault
This is the default setting forshadowCachingDefault(if the respective system property is not present). Used for the tests to enforce caching even if nothing is set via system properties. -
defaultCachingPolicyIfNotFromSystemConfiguration
This is the default caching policy to be used if the default policy is not taken from the system configuration.
-
-
Constructor Details
-
InternalsConfig
public InternalsConfig()
-
-
Method Details
-
isPrismMonitoring
public static boolean isPrismMonitoring() -
setPrismMonitoring
public static void setPrismMonitoring(boolean prismMonitoring) -
isModelProfiling
public static boolean isModelProfiling() -
setModelProfiling
public static void setModelProfiling(boolean modelProfiling) -
isConsistencyChecks
public static boolean isConsistencyChecks() -
setConsistencyChecks
public static void setConsistencyChecks(boolean consistencyChecks) -
isSanityChecks
public static boolean isSanityChecks() -
setSanityChecks
public static void setSanityChecks(boolean sanityChecks) -
isEncryptionChecks
public static boolean isEncryptionChecks() -
setEncryptionChecks
public static void setEncryptionChecks(boolean encryptionChecks) -
isReadEncryptionChecks
public static boolean isReadEncryptionChecks() -
setReadEncryptionChecks
public static void setReadEncryptionChecks(boolean readEncryptionChecks) -
isAvoidLoggingChange
public static boolean isAvoidLoggingChange() -
setAvoidLoggingChange
public static void setAvoidLoggingChange(boolean avoidLoggingChange) -
getTestingPaths
-
setTestingPaths
-
isDetailedAuthorizationLog
public static boolean isDetailedAuthorizationLog() -
setDetailedAuthorizationLog
public static void setDetailedAuthorizationLog(boolean detailedAuthorizationLog) -
isAllowClearDataLogging
public static boolean isAllowClearDataLogging() -
setAllowClearDataLogging
public static void setAllowClearDataLogging(boolean allowClearDataLogging) -
resetTestingPaths
public static void resetTestingPaths() -
isShadowCachingOnByDefault
@TestOnly public static boolean isShadowCachingOnByDefault() -
isShadowCachingFullByDefault
@TestOnly public static boolean isShadowCachingFullByDefault()If true, then the cache is turned on by default with long TTL, and for all attributes. To be used for tests. -
getShadowCachingDefault
-
setShadowCachingDefault
@TestOnly public static void setShadowCachingDefault(@NotNull @NotNull InternalsConfig.ShadowCachingDefault shadowCachingDefault) Use with care! The standard way is to provide the default for tests via the system property. -
set
public static void set(org.apache.commons.configuration2.Configuration internalsConfig) -
reset
public static void reset() -
setDevelopmentMode
public static void setDevelopmentMode() -
turnOffAllChecks
public static void turnOffAllChecks() -
turnOnAllChecks
public static void turnOnAllChecks() -
nonCriticalExceptionsAreFatal
public static boolean nonCriticalExceptionsAreFatal()
-