T - This type variable should always be String for UntypedResolver.public static interface ConfigResolver.UntypedResolver<T> extends ConfigResolver.TypedResolver<T>
| Modifier and Type | Method and Description |
|---|---|
<N> ConfigResolver.TypedResolver<N> |
as(Class<N> clazz)
Sets the type of the configuration entry to the given class and returns this builder as a TypedResolver.
|
<N> ConfigResolver.TypedResolver<N> |
as(Class<N> clazz,
ConfigResolver.Converter<N> converter)
Sets the type of the configuration entry to the given class, sets the converter to the one given and
returns this builder as a TypedResolver.
|
<N> ConfigResolver.TypedResolver<N> |
as(Type type,
ConfigResolver.Converter<N> converter) |
asList, cacheFor, evaluateVariables, getDefaultValue, getKey, getResolvedKey, getValue, getValue, logChanges, onChange, parameterizedBy, strictly, withCurrentProjectStage, withDefault, withStringDefault<N> ConfigResolver.TypedResolver<N> as(Class<N> clazz)
#as(Class, Converter).N - The target typeclazz - The target type<N> ConfigResolver.TypedResolver<N> as(Type type, ConfigResolver.Converter<N> converter)
N - target typetype - target type, includes List and Map using a Converterconverter - The converter for the target type<N> ConfigResolver.TypedResolver<N> as(Class<N> clazz, ConfigResolver.Converter<N> converter)
as(Class) then the provided converter is used instead of the built-in one.N - The target typeclazz - The target typeconverter - The converter for the target typeCopyright © 2021 The Apache Software Foundation. All rights reserved.