Class InternalsConfig

java.lang.Object
com.evolveum.midpoint.schema.internals.InternalsConfig

public class InternalsConfig extends Object
Author:
semancik
  • Field Details

    • consistencyChecks

      public static boolean consistencyChecks
      Checks for consistency of data structures (e.g. prism objects, containers, contexts).
    • encryptionChecks

      public static boolean encryptionChecks
    • readEncryptionChecks

      public static boolean readEncryptionChecks
    • shadowCachingDefaultDefault

      @Nullable public static @Nullable String shadowCachingDefaultDefault
      This is the default setting for shadowCachingDefault (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

      public static TestingPaths getTestingPaths()
    • setTestingPaths

      public static void setTestingPaths(TestingPaths testingPaths)
    • 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

      @NotNull public static @NotNull InternalsConfig.ShadowCachingDefault 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()