TegralApplicationDsl
DSL interface for configurating Tegral applications.
Functions
Link copied to clipboard
Link copied to clipboard
abstract fun useConfiguration(configuration: ConfigLoaderBuilder.() -> Unit)
Content copied to clipboard
Configures the ConfigLoaderBuilder
used to load application configuration using the given lambda.
abstract 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.
Properties
Inheritors
Extensions
Link copied to clipboard
Applies sane defaults to the given application builder. Specifically, this function:
Link copied to clipboard
Install the feature onto this application.
Link copied to clipboard
inline fun <T : RootConfig> TegralApplicationDsl.useConfiguration(noinline configuration: ConfigLoaderBuilder.() -> Unit = {})
Content copied to clipboard
Equivalent to TegralApplicationDsl.useConfiguration, but uses a reified type instead.