FieldConfig

This class represents a field configuration.

Constructors

Link copied to clipboard
constructor(field: String)

Properties

Link copied to clipboard

Returns the field name this configuration represents.

Functions

Link copied to clipboard
fun <T> get(key: ConfigurationKey<T>): T?

Returns the value held by the given key.

Link copied to clipboard

Returns true if there is a value set with the given key, otherwise false.

Link copied to clipboard
fun <T> set(key: ConfigurationKey<T>, value: T?)

Sets a key and its value.

Link copied to clipboard
open override fun toString(): String

Constructs a FieldConfig

Link copied to clipboard

Unsets the given key and its value.