Package 

Object MetaconfigSettings.Companion

    • Method Detail

      • getLogger

         final MetaconfigLogger getLogger()

        A logger for metaconfig to use, if desired. Defaults to a no-op implementation

      • getCacheEnabled

         final Boolean getCacheEnabled()

        A hook to disable caching. This is only intended to be used for testing and is useful if a config property is defined as static (and therefore only loaded once). Disabling the cache will cause the property to re-look up the value each time.

      • setCacheEnabled

         final Unit setCacheEnabled(Boolean cacheEnabled)

        A hook to disable caching. This is only intended to be used for testing and is useful if a config property is defined as static (and therefore only loaded once). Disabling the cache will cause the property to re-look up the value each time.

      • getRetrieveValuesImmediately

         final Boolean getRetrieveValuesImmediately()

        A hook to force retrieval of the config value immediately upon creation (rather than lazily on first access). This is only intended to be used for testing and currently only works on ConfigSourceSuppliers.

      • setRetrieveValuesImmediately

         final Unit setRetrieveValuesImmediately(Boolean retrieveValuesImmediately)

        A hook to force retrieval of the config value immediately upon creation (rather than lazily on first access). This is only intended to be used for testing and currently only works on ConfigSourceSuppliers.