A ConfigSource
that reads configs from YAML documents in a stream, file or string.
(Since version 0.12.1) Use YamlConfigSource.string(content).at(namespace).load[Config]
instead
Loads a configuration of type Config
from the given string.
Loads a configuration of type Config
from the given string.
the string containing the YAML document
A Success
with the configuration if it is possible to create an instance of type
Config
from content
, else a Failure
with details on why it isn't possible
(Since version 0.12.1) Use YamlConfigSource.string(content).load[Config]
instead
Loads a configuration of type Config
from the given YAML file.
Loads a configuration of type Config
from the given YAML file.
the path of the YAML file to read
the base namespace from which the configuration should be load
A Success
with the configuration if it is possible to create an instance of type
Config
from the YAML file, else a Failure
with details on why it isn't possible
(Since version 0.12.1) Use YamlConfigSource.file(path).at(namespace).load[Config]
instead
Loads a configuration of type Config
from the given YAML file.
Loads a configuration of type Config
from the given YAML file.
the path of the YAML file to read
A Success
with the configuration if it is possible to create an instance of type
Config
from the YAML file, else a Failure
with details on why it isn't possible
(Since version 0.12.1) Use YamlConfigSource.file(path).load[Config]
instead
Loads a configuration of type Config
from the given string.
Loads a configuration of type Config
from the given string.
the string containing the YAML document
the base namespace from which the configuration should be load
the configuration
(Since version 0.12.1) Use YamlConfigSource.string(content).at(namespace).loadOrThrow[Config]
instead
Loads a configuration of type Config
from the given string.
Loads a configuration of type Config
from the given string.
the string containing the YAML document
the configuration
(Since version 0.12.1) Use YamlConfigSource.string(content).loadOrThrow[Config]
instead
Loads a configuration of type Config
from the given YAML file.
Loads a configuration of type Config
from the given YAML file.
the path of the YAML file to read
the base namespace from which the configuration should be load
the configuration
(Since version 0.12.1) Use YamlConfigSource.file(path).at(namespace).loadOrThrow[Config]
instead
Loads a configuration of type Config
from the given YAML file.
Loads a configuration of type Config
from the given YAML file.
the path of the YAML file to read
the configuration
(Since version 0.12.1) Use YamlConfigSource.file(path).loadOrThrow[Config]
instead
Loads a configuration of type Config
from the given multi-document string.
Loads a configuration of type Config
from the given multi-document string. Config
must have a
ConfigReader
supporting reading from config lists.
the string containing the YAML documents
A Success
with the configuration if it is possible to create an instance of type
Config
from the multi-document string, else a Failure
with details on why it
isn't possible
(Since version 0.12.1) Use YamlConfigSource.string(content).multiDoc.load[Config]
instead
Loads a configuration of type Config
from the given multi-document YAML file.
Loads a configuration of type Config
from the given multi-document YAML file. Config
must have a
ConfigReader
supporting reading from config lists.
the path of the YAML file to read
A Success
with the configuration if it is possible to create an instance of type
Config
from the multi-document YAML file, else a Failure
with details on why it
isn't possible
(Since version 0.12.1) Use YamlConfigSource.file(path).multiDoc.load[Config]
instead
Loads a configuration of type Config
from the given multi-document string.
Loads a configuration of type Config
from the given multi-document string. Config
must have a
ConfigReader
supporting reading from config lists.
the string containing the YAML documents
the configuration
(Since version 0.12.1) Use YamlConfigSource.string(content).multiDoc.loadOrThrow[Config]
instead
Loads a configuration of type Config
from the given multi-document YAML file.
Loads a configuration of type Config
from the given multi-document YAML file. Config
must have a
ConfigReader
supporting reading from config lists.
the path of the YAML file to read
the configuration
(Since version 0.12.1) Use YamlConfigSource.file(path).multiDoc.loadOrThrow[Config]
instead