Interface OptionalPropertyContext<T>
-
public interface OptionalPropertyContext<T>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OptionalConfigurationProperty<T>build()OptionalPropertyContext<List<T>>multivalued()OptionalPropertyContext<T>substitute(Object expected, Object replacement)OptionalPropertyContext<T>substitute(UnaryOperator<Object> substitution)OptionalPropertyContext<T>validate(Consumer<T> validation)DefaultedPropertyContext<T>withDefault(Supplier<T> defaultValueSupplier)DefaultedPropertyContext<T>withDefault(T defaultValue)
-
-
-
Method Detail
-
substitute
OptionalPropertyContext<T> substitute(UnaryOperator<Object> substitution)
-
substitute
OptionalPropertyContext<T> substitute(Object expected, Object replacement)
-
multivalued
OptionalPropertyContext<List<T>> multivalued()
-
validate
OptionalPropertyContext<T> validate(Consumer<T> validation)
-
withDefault
DefaultedPropertyContext<T> withDefault(T defaultValue)
-
withDefault
DefaultedPropertyContext<T> withDefault(Supplier<T> defaultValueSupplier)
-
build
OptionalConfigurationProperty<T> build()
-
-