ConfigurableFeature

interface ConfigurableFeature : Feature

Represents a feature that provides configuration sections. These sections will be automatically parsed from Tegral configuration files within the [tegral] section.

Functions

Link copied to clipboard
abstract fun ExtensibleContextBuilderDsl.install()

Callback when this feature is installed onto an environment.

Properties

Link copied to clipboard
abstract val configurationSections: List<ConfigurationSection<*>>

Returns the sections that this feature provides for the [tegral] section.

Link copied to clipboard
open val dependencies: Set<Feature>

Dependencies for this feature. Dependencies are features that will be installed together with (but not necessarily before) your feature.

Link copied to clipboard
abstract val description: String

A short description of what your feature provides.

Link copied to clipboard
abstract val id: String

The identifier for this feature. Should be a lower case kebab-case string (e.g. this-is-my-feature).

Link copied to clipboard
abstract val name: String

The name for your feature, e.g. My Feature.