ApplicationConfig

interface ApplicationConfig

Represents an application config node

Functions

config

abstract fun config(path: String): ApplicationConfig

Get config child node or fail

configList

abstract fun configList(
    path: String
): List<ApplicationConfig>

Get a list of child nodes for path or fail

property

abstract fun property(path: String): ApplicationConfigValue

Get config property with path or fail

propertyOrNull

abstract fun propertyOrNull(
    path: String
): ApplicationConfigValue?

Get config property value for path or return null

Inheritors

HoconApplicationConfig

open class HoconApplicationConfig : ApplicationConfig

Implements ApplicationConfig by loading configuration from HOCON data structures

MapApplicationConfig

open class MapApplicationConfig : ApplicationConfig

Mutable application config backed by a hash map