graphmine-core / io.github.sof3.graphmine.config / ConfigSpec
abstract class ConfigSpec
Superclass for type specifications of .kts config files
GroupDelegate | inner class GroupDelegate<G : ConfigGroupSpec < G >> Used in property delegation. Config groups are included in the parent group by property delegation. |
<init> | ConfigSpec() Superclass for type specifications of .kts config files |
checkAll | fun checkAll(): Unit Validates the whole config |
entry | fun <T : Any > entry(validator: ( T ) -> String ? = { null }): SimpleConfigEntry < T > Declares a required entry fun <T : Any > entry(default: T , validator: ( T ) -> String ? = { null }): SimpleConfigEntry < T > Declares an entry with a default value |
group | fun <G : ConfigGroupSpec < G >> group(group: G ): GroupDelegate < G > Config groups should be included by delegation to this call |
ConfigGroupSpec | abstract class ConfigGroupSpec<Self : ConfigGroupSpec < Self >> : ConfigSpec Superclass of type specifications of groups in a ConfigSpec |
CoreConfig | class CoreConfig : ConfigSpec Model for the server config.yml |