Class InternalsConfig
java.lang.Object
com.evolveum.midpoint.schema.internals.InternalsConfig
- Author:
- semancik
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic boolean
Checks for consistency of data structures (e.g.static boolean
static boolean
static @Nullable String
This is the default setting forshadowCachingDefault
(if the respective system property is not present). -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull InternalsConfig.ShadowCachingDefault
static TestingPaths
static boolean
static boolean
static boolean
static boolean
static boolean
static boolean
static boolean
static boolean
static boolean
static boolean
If true, then the cache is turned on by default with long TTL, and for all attributes.static boolean
static boolean
static void
reset()
static void
static void
set
(org.apache.commons.configuration2.Configuration internalsConfig) static void
setAllowClearDataLogging
(boolean allowClearDataLogging) static void
setAvoidLoggingChange
(boolean avoidLoggingChange) static void
setConsistencyChecks
(boolean consistencyChecks) static void
setDetailedAuthorizationLog
(boolean detailedAuthorizationLog) static void
static void
setEncryptionChecks
(boolean encryptionChecks) static void
setModelProfiling
(boolean modelProfiling) static void
setPrismMonitoring
(boolean prismMonitoring) static void
setReadEncryptionChecks
(boolean readEncryptionChecks) static void
setSanityChecks
(boolean sanityChecks) static void
setTestingPaths
(TestingPaths testingPaths) static void
static 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.
-
-
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
-
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()
-