Load a configuration of type A
from the standard configuration files
Load a configuration of type A
from the standard configuration files
The returned action will complete with A
if it is possible to create an instance of type
A
from the configuration files, or fail with a ConfigReaderException which in turn contains
details on why it isn't possible
Save the given configuration into a property file
Save the given configuration into a property file
The configuration to save
Where to write the configuration
Override the path if it already exists
the config rendering options
The return action will save out the supplied configuration upon invocation
Writes the configuration to the output stream and closes the stream
Writes the configuration to the output stream and closes the stream
The configuration to write
The stream in which the configuration should be written
the config rendering options
The return action will save out the supplied configuration upon invocation
(Since version 0.12.0) Root will be treated as the default namespace
Load a configuration of type A
from the given Config
Load a configuration of type A
from the given Config
The returned action will complete with A
if it is possible to create an instance of type
A
from the configuration object, or fail with a ConfigReaderException which in turn contains
details on why it isn't possible
(Since version 0.12.0) Use ConfigSource.fromConfig(conf).at(namespace).loadF[F, A]
instead
Load a configuration of type A
from the given Config
Load a configuration of type A
from the given Config
The returned action will complete with A
if it is possible to create an instance of type
A
from the configuration object, or fail with a ConfigReaderException which in turn contains
details on why it isn't possible
(Since version 0.12.0) Use ConfigSource.fromConfig(conf).loadF[F, A]
instead
Load a configuration of type A
from the given file.
Load a configuration of type A
from the given file. Note that standard configuration
files are still loaded but can be overridden from the given configuration file
the path of the configuration file from which to load
the base namespace from which the configuration should be load
The returned action will complete with A
if it is possible to create an instance of type
A
from the configuration file, or fail with a ConfigReaderException which in turn contains
details on why it isn't possible
(Since version 0.12.0) Use ConfigSource.default(ConfigSource.file(path)).at(namespace).loadF[F, A]
instead
Load a configuration of type A
from the given file.
Load a configuration of type A
from the given file. Note that standard configuration
files are still loaded but can be overridden from the given configuration file
the path of the configuration file from which to load
The returned action will complete with A
if it is possible to create an instance of type
A
from the configuration file, or fail with a ConfigReaderException which in turn contains
details on why it isn't possible
(Since version 0.12.0) Use ConfigSource.default(ConfigSource.file(path)).loadF[F, A]
instead
Load a configuration of type A
from the standard configuration files
Load a configuration of type A
from the standard configuration files
the base namespace from which the configuration should be load
The returned action will complete with A
if it is possible to create an instance of type
A
from the configuration files, or fail with a ConfigReaderException which in turn contains
details on why it isn't possible
(Since version 0.12.0) Use ConfigSource.default.at(namespace).loadF[F, A]
instead
Loads files
in order, allowing values in later files to backstop missing values from prior, and converts them into a A
.
Loads files
in order, allowing values in later files to backstop missing values from prior, and converts them into a A
.
This is a convenience method which enables having default configuration which backstops local configuration.
Note: If an element of files
references a file which doesn't exist or can't be read, it will silently be ignored.
Files ordered in decreasing priority containing part or all of a A
. Must not be empty.
(Since version 0.12.0) Construct a custom ConfigSource
pipeline instead