Package io.github.kaktushose.jdac.configuration
package io.github.kaktushose.jdac.configuration
-
ClassDescriptionExtension<T extends Extension.Data>
Extensions
Implementations of this interface, that are registered by Javas service provider interface, will be called in
JDACBuilderto configure the framework.Implementations of this interface are providing additional configuration to implementations ofExtension.A sub exception ofConfigurationExceptionthat can be implemented by users of the library for throwing own exceptions during the initialization ofExtensions or inPropertyProvider.supplier().The information object holding information like theBundlename to use.The two available filter strategiesProperty<T>Properties
An
Propertyrepresent either...The category of a property defines how values for it can be provided.AProperty.Enumerationproperty basically represents aCollectionof multiple values.The fallback behaviour defines whether the fallback value provided by JDA-Commands should be accumulated together with the user defined ones or overwritten.Property.Map<K,V> AProperty.Mapproperty basically represents aMap, where each value belongs target a specific key.AProperty.Singletonproperty just hols one value.PropertyProviders
An
PropertyProviderprovides values for thePropertyassociated with it.This context provides useful functionality to aPropertyProviderduring value creation.