-
- All Implemented Interfaces:
-
kotlin.properties.ReadOnlyProperty,kotlin.properties.ReadWriteProperty
public final class ConfigurationDelegate<C extends Configuration<C>, R extends Object, T extends Object> implements ReadWriteProperty<C, T>
-
-
Constructor Summary
Constructors Constructor Description ConfigurationDelegate(ConfigurationSource source, String node, KClass<?> clazz, Function1<R, T> rawToComplex, Function1<T, R> complexToRaw)
-
Method Summary
Modifier and Type Method Description TgetValue(C thisRef, KProperty<?> property)UnitsetValue(C thisRef, KProperty<?> property, T value)final ConfigurationDelegateNotNull<C, R, T>default(T value)final ConfigurationDelegateNotNull<C, R, T>default(Function1<C, T> defaultFn)final ConfigurationDelegateNotNull<C, R, T>strict()final ConfigurationDelegate<C, R, T>transform(Function1<R, T> rawToComplex, Function1<T, R> complexToRaw)-
-
Method Detail
-
strict
final ConfigurationDelegateNotNull<C, R, T> strict()
-
-
-
-