open class MapApplicationConfig : ApplicationConfig
Mutable application config backed by a hash map
class MapApplicationConfigValue : ApplicationConfigValue
A config value implementation backed by this config's map |
MapApplicationConfig(vararg values: Pair<String, String>) MapApplicationConfig() |
val map: MutableMap<String, String>
A backing map for this config |
|
val path: String
Config path prefix for this config |
open fun config(path: String): ApplicationConfig
Get config child node or fail |
|
open fun configList(path: String): List<ApplicationConfig>
Get a list of child nodes for path or fail |
|
open fun property(path: String): ApplicationConfigValue
Get config property with path or fail |
|
open fun propertyOrNull(path: String): ApplicationConfigValue?
Get config property value for path or return |
|
fun put(path: String, value: String): Unit
Set property value fun put(path: String, values: Iterable<String>): Unit
Put list property value |