graphmine-core / io.github.sof3.graphmine.config / ConfigGroupSpec
abstract class ConfigGroupSpec<Self :
ConfigGroupSpec
<
Self
>> :
ConfigSpec
Superclass of type specifications of groups in a ConfigSpec
See Also
<init> | ConfigGroupSpec() Superclass of type specifications of groups in a ConfigSpec |
invoke | operator fun invoke(fn: Self .() -> Unit ): Unit |
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 |
ServerConfig | class ServerConfig : ConfigGroupSpec < ServerConfig > Settings for the server |