SectionOptionality

sealed class SectionOptionality<out T>

Provides information on whether a section is optional or not.

Types

Link copied to clipboard
data class Optional<out T>(val defaultValue: T) : SectionOptionality<T>

The section is optional. If absent, defaultValue is used instead.

Link copied to clipboard
object Required : SectionOptionality<Nothing>

The section is required. An exception will be thrown if it is absent from the configuration file.

Inheritors

Link copied to clipboard
Link copied to clipboard