TegralConfig

class TegralConfig(elements: ConfigurationSections) : SectionedConfiguration

Sectioned configuration class used by the [tegral] block.

Constructors

Link copied to clipboard
fun TegralConfig(elements: ConfigurationSections)

Functions

Link copied to clipboard
operator fun <T : Any> get(section: ConfigurationSection<T>): T

Retrieves a configuration via its section, or throws an exception if no such section could be found.

Link copied to clipboard
open override fun toString(): String

Properties

Link copied to clipboard
val sections: ConfigurationSections

The sections available in this configuration. Consider using the get operator instead of directly using this map.