Retrieves a ConfigValue
from this source.
Retrieves a ConfigValue
from this source. This forces the config to be resolved, if needed.
a ConfigValue
retrieved from this source.
Navigates through the config to focus on a namespace.
Navigates through the config to focus on a namespace.
the namespace to focus on
a new ConfigSource
focused on the given namespace.
Returns a cursor for a ConfigValue
retrieved from this source.
Returns a cursor for a ConfigValue
retrieved from this source.
a cursor for a ConfigValue
retrieved from this source.
Returns a fluent cursor for a ConfigValue
retrieved from this source.
Returns a fluent cursor for a ConfigValue
retrieved from this source.
a fluent cursor for a ConfigValue
retrieved from this source.
Loads a configuration of type A
from this source.
Loads a configuration of type A
from this source.
the type of the config to be loaded
A Right
with the configuration if it is possible to create an instance of type
A
from this source, a Failure
with details on why it isn't possible otherwise
Loads a configuration of type A
from this source.
Loads a configuration of type A
from this source. If it is not possible to create an
instance of A
, this method throws a ConfigReaderException
.
the type of the config to be loaded
The configuration of type A
loaded from this source.
A representation of a source from which
ConfigValue
s can be loaded, such as a file or a URL.A source allows users to load configs from this source as any type for which a
ConfigReader
is available. Raw configs can also be retrieved as aConfigValue
, aConfigCursor
or aFluentConfigCursor
. Before using any of the loading methods described, Users can opt to focus on a specific part of a config by specifying a namespace.All config loading methods are lazy and defer resolution of references until needed.