MapApplicationConfig
open class MapApplicationConfig : ApplicationConfig
Mutable application config backed by a hash map
Types
class MapApplicationConfigValue : ApplicationConfigValue A config value implementation backed by this config’s map |
Constructors
MapApplicationConfig() |
Properties
val map: MutableMap<String, String> A backing map for this config |
|
val path: String Config path prefix for this config |
Functions
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( Get config property value for path or return |
|
Set property value Put list property value |