HoconApplicationConfig

open class HoconApplicationConfig(config: Config) : ApplicationConfig

Implements ApplicationConfig by loading configuration from HOCON data structures

Constructors

Link copied to clipboard
fun HoconApplicationConfig(config: Config)

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 keys(): Set<String>

Returns the set of keys, found by recursing the root object. All entries represent leaf nodes' keys, meaning that there would be no nested objects directly included as values for returned keys. It's still possible that entries may be a list and the lists may contain objects.

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