A Config
builder providing a DSL for retireving and modifying configs.
A Config
builder providing a DSL for retireving and modifying configs.
(Since version 2017/07/13) Use pureconfig for loading the root object and then manipulate domain objects directly
Returns a LazyConfigFactory.Builder
targeted at a path of the default config.
Returns a LazyConfigFactory.Builder
targeted at a path of the default config.
the target path of the default config
a LazyConfigFactory.Builder
targeted at the given path of the default config.
(Since version 2017/07/13) Use pureconfig for loading the root object and then manipulate domain objects directly
Contains static methods for creating
Config
instances in a lazy way.The loading process resolves variables lazily - configurations are first completely loaded and merged (reference.conf, the application file and default overrides) and only then are variables resolved. This
ConfigFactory
also considers a third standard configuration file,overrides.conf
, which has priority over the application file and can be used to specify keys that should always be overriden, e.g. by environment variables if they are defined.