public class ObjectListConfigType<T> extends ObjectConfigType<T>
| Modifier and Type | Field and Description |
|---|---|
(package private) static io.quarkus.gizmo.MethodDescriptor |
ALF_GET_INST_METHOD |
(package private) static io.quarkus.gizmo.MethodDescriptor |
CU_GET_DEFAULTS_METHOD |
(package private) static io.quarkus.gizmo.MethodDescriptor |
EMPTY_LIST_METHOD |
(package private) static io.quarkus.gizmo.MethodDescriptor |
GET_VALUES |
converterClass, defaultValue, expectedTypeCU_CONVERT, CU_GET_OPT_VALUE, CU_GET_VALUEECS_CACHE_CTOR, MAP_PUT_METHOD, NI_GET_NEXT_SEGMENT, NI_NEXT_METHOD, NI_PREV_METHOD, OBJ_TO_STRING_METHOD, OPT_EMPTY_METHOD, OPT_OF_NULLABLE_METHOD, OPT_OR_ELSE_METHOD| Constructor and Description |
|---|
ObjectListConfigType(String containingName,
CompoundConfigType container,
boolean consumeSegment,
String defaultValue,
Class<T> expectedType,
String javadocKey,
String configKey,
Class<? extends org.eclipse.microprofile.config.spi.Converter<T>> converterClass) |
| Modifier and Type | Method and Description |
|---|---|
void |
acceptConfigurationValue(NameIterator name,
ExpandingConfigSource.Cache cache,
io.smallrye.config.SmallRyeConfig config)
Handle a configuration key from the input file.
|
void |
acceptConfigurationValueIntoGroup(Object enclosing,
Field field,
NameIterator name,
io.smallrye.config.SmallRyeConfig config) |
(package private) void |
acceptConfigurationValueIntoMap(Map<String,Object> enclosing,
NameIterator name,
io.smallrye.config.SmallRyeConfig config) |
void |
generateAcceptConfigurationValue(io.quarkus.gizmo.BytecodeCreator body,
io.quarkus.gizmo.ResultHandle name,
io.quarkus.gizmo.ResultHandle cache,
io.quarkus.gizmo.ResultHandle config) |
void |
generateAcceptConfigurationValueIntoGroup(io.quarkus.gizmo.BytecodeCreator body,
io.quarkus.gizmo.ResultHandle enclosing,
io.quarkus.gizmo.MethodDescriptor setter,
io.quarkus.gizmo.ResultHandle name,
io.quarkus.gizmo.ResultHandle config) |
(package private) void |
generateAcceptConfigurationValueIntoMap(io.quarkus.gizmo.BytecodeCreator body,
io.quarkus.gizmo.ResultHandle enclosing,
io.quarkus.gizmo.ResultHandle name,
io.quarkus.gizmo.ResultHandle config) |
(package private) void |
generateGetDefaultValueIntoEnclosingGroup(io.quarkus.gizmo.BytecodeCreator body,
io.quarkus.gizmo.ResultHandle enclosing,
io.quarkus.gizmo.MethodDescriptor setter,
io.quarkus.gizmo.ResultHandle cache,
io.quarkus.gizmo.ResultHandle config) |
(package private) void |
getDefaultValueIntoEnclosingGroup(Object enclosing,
ExpandingConfigSource.Cache cache,
io.smallrye.config.SmallRyeConfig config,
Field field)
Get the default value of this type into the enclosing element.
|
io.quarkus.gizmo.ResultHandle |
writeInitialization(io.quarkus.gizmo.BytecodeCreator body,
AccessorFinder accessorFinder,
io.quarkus.gizmo.ResultHandle cache,
io.quarkus.gizmo.ResultHandle config) |
getConverterClass, getDefaultValueString, getItemClassgetConfigKey, getJavadocKey, load, loadConverterClassgetConfigDefinition, getContainer, getContainer, getContainingName, isConsumeSegment, notLoadedException, toError, toErrorstatic final io.quarkus.gizmo.MethodDescriptor ALF_GET_INST_METHOD
static final io.quarkus.gizmo.MethodDescriptor EMPTY_LIST_METHOD
static final io.quarkus.gizmo.MethodDescriptor CU_GET_DEFAULTS_METHOD
static final io.quarkus.gizmo.MethodDescriptor GET_VALUES
public void acceptConfigurationValue(NameIterator name, ExpandingConfigSource.Cache cache, io.smallrye.config.SmallRyeConfig config)
LeafConfigTypeacceptConfigurationValue in class ObjectConfigType<T>name - the configuration property nameconfig - the source configurationpublic void generateAcceptConfigurationValue(io.quarkus.gizmo.BytecodeCreator body,
io.quarkus.gizmo.ResultHandle name,
io.quarkus.gizmo.ResultHandle cache,
io.quarkus.gizmo.ResultHandle config)
generateAcceptConfigurationValue in class ObjectConfigType<T>void getDefaultValueIntoEnclosingGroup(Object enclosing, ExpandingConfigSource.Cache cache, io.smallrye.config.SmallRyeConfig config, Field field)
ConfigTypegetDefaultValueIntoEnclosingGroup in class ObjectConfigType<T>enclosing - the instance of the enclosing type (must not be null)config - the configuration (must not be null)field - the field to read the value intovoid generateGetDefaultValueIntoEnclosingGroup(io.quarkus.gizmo.BytecodeCreator body,
io.quarkus.gizmo.ResultHandle enclosing,
io.quarkus.gizmo.MethodDescriptor setter,
io.quarkus.gizmo.ResultHandle cache,
io.quarkus.gizmo.ResultHandle config)
generateGetDefaultValueIntoEnclosingGroup in class ObjectConfigType<T>public void acceptConfigurationValueIntoGroup(Object enclosing, Field field, NameIterator name, io.smallrye.config.SmallRyeConfig config)
acceptConfigurationValueIntoGroup in class ObjectConfigType<T>public void generateAcceptConfigurationValueIntoGroup(io.quarkus.gizmo.BytecodeCreator body,
io.quarkus.gizmo.ResultHandle enclosing,
io.quarkus.gizmo.MethodDescriptor setter,
io.quarkus.gizmo.ResultHandle name,
io.quarkus.gizmo.ResultHandle config)
generateAcceptConfigurationValueIntoGroup in class ObjectConfigType<T>void acceptConfigurationValueIntoMap(Map<String,Object> enclosing, NameIterator name, io.smallrye.config.SmallRyeConfig config)
acceptConfigurationValueIntoMap in class ObjectConfigType<T>void generateAcceptConfigurationValueIntoMap(io.quarkus.gizmo.BytecodeCreator body,
io.quarkus.gizmo.ResultHandle enclosing,
io.quarkus.gizmo.ResultHandle name,
io.quarkus.gizmo.ResultHandle config)
generateAcceptConfigurationValueIntoMap in class ObjectConfigType<T>public io.quarkus.gizmo.ResultHandle writeInitialization(io.quarkus.gizmo.BytecodeCreator body,
AccessorFinder accessorFinder,
io.quarkus.gizmo.ResultHandle cache,
io.quarkus.gizmo.ResultHandle config)
writeInitialization in class ObjectConfigType<T>Copyright © 2019 JBoss by Red Hat. All rights reserved.