Spec
interface Spec
Content copied to clipboard
Config spec is specification for config.
Config spec describes a group of items with common prefix, which can be loaded into config together using Config.addSpec. Config spec also provides convenient API to specify item in it without hand-written object declaration.
See also
Types
Functions
addInnerSpec
Link copied to clipboard
withFallback
Link copied to clipboard
withPrefix
Link copied to clipboard
Properties
Inheritors
ConfigSpec
Link copied to clipboard
Extensions
lazy
Link copied to clipboard
inline fun <T> Spec.lazy(name: String? = null, description: String = "", noinline thunk: (config: ItemContainer) -> T): LazyProperty<T>
Content copied to clipboard
Sources
jvm source
Link copied to clipboard