ConfigurationSection

open class ConfigurationSection<T : Any>(val name: String, val isOptional: SectionOptionality<T>, val kclass: KClass<T>)

A configuration section that can be added to a SectionedConfiguration.

Note that this is metadata to provide a bridge between a SectionedConfiguration and your data class.

Constructors

Link copied to clipboard
constructor(name: String, isOptional: SectionOptionality<T>, kclass: KClass<T>)

Properties

Link copied to clipboard

Information on the optionality of this section.

Link copied to clipboard

The KClass that corresponds to T.

Link copied to clipboard

The name of this section. This is the name that is used in the config file.