TegralApplicationBuilder
class TegralApplicationBuilder : TegralApplicationDsl, Buildable<TegralApplication>
Content copied to clipboard
Builder for a Tegral application. This class allows you to install features, tweak the application's configuration, add modules, classes and components of your own, etc. This is the class that is used as a receiver within the tegral block.
Constructors
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun useConfiguration(configuration: ConfigLoaderBuilder.() -> Unit)
Content copied to clipboard
Configures the ConfigLoaderBuilder
used to load application configuration using the given lambda.
open override fun <T : RootConfig> useConfiguration(configClass: KClass<T>, configuration: ConfigLoaderBuilder.() -> Unit)
Content copied to clipboard
Sets the class to use for loading the configuration classes and optionally applies custom logic to the Hoplite ConfigLoaderBuilder
instance.