Package-level declarations

Types

Link copied to clipboard
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.

Link copied to clipboard
Link copied to clipboard
interface RootConfig

Root configuration for Tegral appliactions.

Link copied to clipboard

A class that can contain an arbitrary number of "sections".

Link copied to clipboard
class SectionedConfigurationDecoder<T : SectionedConfiguration>(sectionedConfigurationType: KClass<T>, sectionedConfigurationTypeFactory: (Map<ConfigurationSection<*>, Any>) -> T, sections: List<ConfigurationSection<*>>) : Decoder<T>

Hoplite decoder for SectionedConfiguration.

Link copied to clipboard
sealed class SectionOptionality<out T>

Provides information on whether a section is optional or not.

Link copied to clipboard

Sectioned configuration class used by the [tegral] block.

Link copied to clipboard

Exception thrown when a section was not found in a SectionedConfiguration.