Package io.smallrye.config
Class ConfigMappingContext.ObjectCreator<T>
java.lang.Object
io.smallrye.config.ConfigMappingContext.ObjectCreator<T>
- Enclosing class:
ConfigMappingContext
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<V,C extends Collection<V>>
ConfigMappingContext.ObjectCreator<T> collection(Class<C> collectionRawType) get()map(Class<K> keyRawType, Class<? extends org.eclipse.microprofile.config.spi.Converter<K>> keyConvertWith) map(Class<K> keyRawType, Class<? extends org.eclipse.microprofile.config.spi.Converter<K>> keyConvertWith, String unnamedKey, Iterable<String> keys) <K,V> ConfigMappingContext.ObjectCreator <T> map(Class<K> keyRawType, Class<? extends org.eclipse.microprofile.config.spi.Converter<K>> keyConvertWith, String unnamedKey, Iterable<String> keys, Class<V> defaultClass) <K,V> ConfigMappingContext.ObjectCreator <T> map(Class<K> keyRawType, Class<? extends org.eclipse.microprofile.config.spi.Converter<K>> keyConvertWith, String unnamedKey, Iterable<String> keys, Supplier<V> defaultValue) <V,C extends Collection<V>>
ConfigMappingContext.ObjectCreator<T> optionalCollection(Class<C> collectionRawType) optionalGroup(Class<G> groupType) static <V> Optional<V> optionalValue(ConfigMappingContext context, String propertyName, Class<V> valueRawType, Class<? extends org.eclipse.microprofile.config.spi.Converter<V>> valueConvertWith) optionalValue(Class<V> valueRawType, Class<? extends org.eclipse.microprofile.config.spi.Converter<V>> valueConvertWith) static <V,C extends Collection<V>>
Optional<C> optionalValues(ConfigMappingContext context, String propertyName, Class<V> itemRawType, Class<? extends org.eclipse.microprofile.config.spi.Converter<V>> itemConvertWith, Class<C> collectionRawType) <V,C extends Collection<V>>
ConfigMappingContext.ObjectCreator<T> optionalValues(Class<V> itemRawType, Class<? extends org.eclipse.microprofile.config.spi.Converter<V>> itemConvertWith, Class<C> collectionRawType) static <V> Vvalue(ConfigMappingContext context, String propertyName, Class<V> valueRawType, Class<? extends org.eclipse.microprofile.config.spi.Converter<V>> valueConvertWith) value(Class<T> valueRawType, Class<? extends org.eclipse.microprofile.config.spi.Converter<T>> valueConvertWith) static <K,V, C extends Collection<V>>
Map<K, C> values(ConfigMappingContext context, String propertyName, Class<K> keyRawType, Class<? extends org.eclipse.microprofile.config.spi.Converter<K>> keyConvertWith, Class<V> valueRawType, Class<? extends org.eclipse.microprofile.config.spi.Converter<V>> valueConvertWith, Class<C> collectionRawType, Iterable<String> keys, String defaultValue) static <K,V> Map <K, V> values(ConfigMappingContext context, String propertyName, Class<K> keyRawType, Class<? extends org.eclipse.microprofile.config.spi.Converter<K>> keyConvertWith, Class<V> valueRawType, Class<? extends org.eclipse.microprofile.config.spi.Converter<V>> valueConvertWith, Iterable<String> keys, String defaultValue) static <V,C extends Collection<V>>
Cvalues(ConfigMappingContext context, String propertyName, Class<V> itemRawType, Class<? extends org.eclipse.microprofile.config.spi.Converter<V>> itemConvertWith, Class<C> collectionRawType) <K,V, C extends Collection<V>>
ConfigMappingContext.ObjectCreator<T> values(Class<K> keyRawType, Class<? extends org.eclipse.microprofile.config.spi.Converter<K>> keyConvertWith, Class<V> valueRawType, Class<? extends org.eclipse.microprofile.config.spi.Converter<V>> valueConvertWith, Class<C> collectionRawType, Iterable<String> keys, String defaultValue) <K,V> ConfigMappingContext.ObjectCreator <T> values(Class<K> keyRawType, Class<? extends org.eclipse.microprofile.config.spi.Converter<K>> keyConvertWith, Class<V> valueRawType, Class<? extends org.eclipse.microprofile.config.spi.Converter<V>> valueConvertWith, Iterable<String> keys, String defaultValue) <V,C extends Collection<V>>
ConfigMappingContext.ObjectCreator<T> values(Class<V> itemRawType, Class<? extends org.eclipse.microprofile.config.spi.Converter<V>> itemConvertWith, Class<C> collectionRawType)
-
Constructor Details
-
ObjectCreator
-
-
Method Details
-
map
public <K> ConfigMappingContext.ObjectCreator<T> map(Class<K> keyRawType, Class<? extends org.eclipse.microprofile.config.spi.Converter<K>> keyConvertWith) -
map
-
map
-
map
-
collection
public <V,C extends Collection<V>> ConfigMappingContext.ObjectCreator<T> collection(Class<C> collectionRawType) -
optionalCollection
public <V,C extends Collection<V>> ConfigMappingContext.ObjectCreator<T> optionalCollection(Class<C> collectionRawType) -
group
-
lazyGroup
-
optionalGroup
-
value
public static <V> V value(ConfigMappingContext context, String propertyName, Class<V> valueRawType, Class<? extends org.eclipse.microprofile.config.spi.Converter<V>> valueConvertWith) -
value
-
optionalValue
public static <V> Optional<V> optionalValue(ConfigMappingContext context, String propertyName, Class<V> valueRawType, Class<? extends org.eclipse.microprofile.config.spi.Converter<V>> valueConvertWith) -
optionalValue
public <V> ConfigMappingContext.ObjectCreator<T> optionalValue(Class<V> valueRawType, Class<? extends org.eclipse.microprofile.config.spi.Converter<V>> valueConvertWith) -
values
public static <V,C extends Collection<V>> C values(ConfigMappingContext context, String propertyName, Class<V> itemRawType, Class<? extends org.eclipse.microprofile.config.spi.Converter<V>> itemConvertWith, Class<C> collectionRawType) -
values
public <V,C extends Collection<V>> ConfigMappingContext.ObjectCreator<T> values(Class<V> itemRawType, Class<? extends org.eclipse.microprofile.config.spi.Converter<V>> itemConvertWith, Class<C> collectionRawType) -
optionalValues
public static <V,C extends Collection<V>> Optional<C> optionalValues(ConfigMappingContext context, String propertyName, Class<V> itemRawType, Class<? extends org.eclipse.microprofile.config.spi.Converter<V>> itemConvertWith, Class<C> collectionRawType) -
optionalValues
public <V,C extends Collection<V>> ConfigMappingContext.ObjectCreator<T> optionalValues(Class<V> itemRawType, Class<? extends org.eclipse.microprofile.config.spi.Converter<V>> itemConvertWith, Class<C> collectionRawType) -
values
public static <K,V> Map<K,V> values(ConfigMappingContext context, String propertyName, Class<K> keyRawType, Class<? extends org.eclipse.microprofile.config.spi.Converter<K>> keyConvertWith, Class<V> valueRawType, Class<? extends org.eclipse.microprofile.config.spi.Converter<V>> valueConvertWith, Iterable<String> keys, String defaultValue) -
values
public <K,V> ConfigMappingContext.ObjectCreator<T> values(Class<K> keyRawType, Class<? extends org.eclipse.microprofile.config.spi.Converter<K>> keyConvertWith, Class<V> valueRawType, Class<? extends org.eclipse.microprofile.config.spi.Converter<V>> valueConvertWith, Iterable<String> keys, String defaultValue) -
values
public static <K,V, Map<K,C extends Collection<V>> C> values(ConfigMappingContext context, String propertyName, Class<K> keyRawType, Class<? extends org.eclipse.microprofile.config.spi.Converter<K>> keyConvertWith, Class<V> valueRawType, Class<? extends org.eclipse.microprofile.config.spi.Converter<V>> valueConvertWith, Class<C> collectionRawType, Iterable<String> keys, String defaultValue) -
values
public <K,V, ConfigMappingContext.ObjectCreator<T> valuesC extends Collection<V>> (Class<K> keyRawType, Class<? extends org.eclipse.microprofile.config.spi.Converter<K>> keyConvertWith, Class<V> valueRawType, Class<? extends org.eclipse.microprofile.config.spi.Converter<V>> valueConvertWith, Class<C> collectionRawType, Iterable<String> keys, String defaultValue) -
get
-