enumeration

fun <E : Enum<E>> enumeration(key: String, description: String, type: Class<E>): ProviderOption<E>

One of the constants of type, written as the configuration writes a value: lower case, words joined by dashes (WAIT_FOR is wait-for); missing when it is not set.


fun <E : Enum<E>> enumeration(key: String, description: String, type: Class<E>, default: E): ProviderOption.Defaulted<E>

One of the constants of type, as enumeration reads one, default when it is not set.