Package guru.zoroark.tegral.config.core
Types
Link copied to clipboard
open class ConfigurationSection<T : Any>( val name: String, val isOptional: SectionOptionality<T>, val kclass: KClass<T>)
Content copied to clipboard
A configuration section that can be added to a SectionedConfiguration.
Link copied to clipboard
Link copied to clipboard
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<*>>) : NullHandlingDecoder<T>
Content copied to clipboard
Hoplite decode for SectionedConfiguration.
Link copied to clipboard
Provides information on whether a section is optional or not.
Link copied to clipboard
class TegralConfig(elements: ConfigurationSections) : SectionedConfiguration
Content 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.