MapApplicationConfig

open class MapApplicationConfig : ApplicationConfig

Mutable application config backed by a hash map

Constructors

Link copied to clipboard
fun MapApplicationConfig(vararg values: Pair<String, String>)
Link copied to clipboard
fun MapApplicationConfig()

Functions

Link copied to clipboard
open override fun config(path: String): ApplicationConfig

Get config child node or fail

Link copied to clipboard
open override fun configList(path: String): List<ApplicationConfig>

Get a list of child nodes for path or fail

Link copied to clipboard
open override fun property(path: String): ApplicationConfigValue

Get config property with path or fail

Link copied to clipboard
open override fun propertyOrNull(path: String): ApplicationConfigValue?

Get config property value for path or return null

Link copied to clipboard
fun put(path: String, value: String)

Set property value

fun put(path: String, values: Iterable<String>)

Put list property value