Home

hexagon_core / com.hexagonkt.settings / SettingsManager

SettingsManager

object SettingsManager

Properties

Name Summary
log val log:Logger
settings var settings:Map<String, *>
settingsSources var settingsSources:List<SettingsSource>

Functions

Name Summary
defaultSetting fun <T :Any> defaultSetting(name:String, value: T): T
fun <T :Any> defaultSetting(name:List<String>, value: T): T
invoke operator fun invoke(block:SettingsManager.() ->Unit):SettingsManager
requireSetting fun <T :Any> requireSetting(vararg name:String): T
setting fun <T :Any> setting(vararg name:String): T?