Add additional files to this MutableConfig
, causing it to be reloaded to
add their contents.
Add the properties in the given pure environment to this config.
Add the properties in the given pure environment to this config. Note: If this config is reloaded from source, these additional properties will be lost.
Add additional files to named groups in this MutableConfig
, causing it to be
reloaded to add their contents.
Add the properties in the given Map
to this config.
Add the properties in the given Map
to this config. The values
will be converted to CfgValue
s according to their Valuable
instance.
Note: If this config is reloaded from source, these additional properties
will be lost.
Add the properties in the given Map
to this config.
Add the properties in the given Map
to this config. The String
values
will be parsed into CfgValue
s.
Note: If this config is reloaded from source, these additional properties
will be lost.
A process that produces chages to the configuration properties that match the given pattern
Fetch the Map
that maps names to values.
Fetch the Map
that maps names to values. Turns the config into a pure
value disconnected from the file resources it came from.
Get an immutable Config
from of the current state of this
MutableConfig
.
Look up a name in the MutableConfig
.
Look up a name in the MutableConfig
. If a binding exists, and the value can
be converted to the desired type, return the converted value, otherwise
None
.
Look up a name in the MutableConfig
.
Look up a name in the MutableConfig
. If a binding exists, and the value can
be converted to the desired type, return the converted value, otherwise
return the default value.
Perform a simple dump of a MutableConfig
to a String
.
Forcibly reload this MutableConfig
from sources.
Forcibly reload this MutableConfig
from sources. Throws an exception on error,
such as * if files no longer exist or contain errors. If the provided MutableConfig
is a subconfig
, this will reload the entire top-level configuration, not
just the local section. Any overridden properties set with addProperties
will disappear.
Look up a name in the MutableConfig
.
Look up a name in the MutableConfig
. If a binding exists, and the value can
be converted to the desired type, return the converted value, otherwise
throw a KeyError
.
Gives a MutableConfig
corresponding to just a single group of the
original MutableConfig
.
Gives a MutableConfig
corresponding to just a single group of the
original MutableConfig
. The subconfig can be used just like the original.
Subscribe to notifications.
Subscribe to notifications. The given handler will be invoked when any change occurs to a configuration property that matches the pattern.
Mutable, reloadable, configuration data