public interface PropertyValueProviderFactory
Modifier and Type | Method and Description |
---|---|
<T> java.util.Optional<PropertyValueProvider<T>> |
getPropertyProvider(java.lang.reflect.AnnotatedType exactType,
PropertyLoader loader)
The method is generic over the return type to signify that the method is
inherently unsafe, by forcing implementors to unsafe-cast the result.
|
static <T> PropertyValueProviderFactory |
over(java.lang.Class<T> propertyClass,
java.util.function.Function<java.util.List<?>,Parser<T>> getValue) |
static <T> PropertyValueProviderFactory |
over(java.lang.Class<T> propertyClass,
java.util.function.Function<java.util.List<?>,Parser<T>> getValue,
java.util.function.BiFunction<java.lang.String,java.util.List<?>,T> defaultValue) |
static <T> PropertyValueProviderFactory |
over(java.lang.Class<T> propertyClass,
Parser<T> getValue) |
static <T> PropertyValueProviderFactory |
over(java.lang.Class<T> propertyClass,
PropertyValueProvider<T> provider) |
<T> java.util.Optional<PropertyValueProvider<T>> getPropertyProvider(java.lang.reflect.AnnotatedType exactType, PropertyLoader loader)
exactType
- the type of the property providerloader
- the property loader making the requeststatic <T> PropertyValueProviderFactory over(java.lang.Class<T> propertyClass, PropertyValueProvider<T> provider)
static <T> PropertyValueProviderFactory over(java.lang.Class<T> propertyClass, java.util.function.Function<java.util.List<?>,Parser<T>> getValue, java.util.function.BiFunction<java.lang.String,java.util.List<?>,T> defaultValue)
static <T> PropertyValueProviderFactory over(java.lang.Class<T> propertyClass, java.util.function.Function<java.util.List<?>,Parser<T>> getValue)
static <T> PropertyValueProviderFactory over(java.lang.Class<T> propertyClass, Parser<T> getValue)