public class DoubleConfigType extends LeafConfigType
| Modifier and Type | Field and Description |
|---|---|
(package private) String |
defaultValue |
CU_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 |
|---|
DoubleConfigType(String containingName,
CompoundConfigType container,
boolean consumeSegment,
String defaultValue,
String javadocKey,
String configKey,
Class<? extends org.eclipse.microprofile.config.spi.Converter<Double>> 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) |
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 |
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) |
Class<? extends org.eclipse.microprofile.config.spi.Converter<Double>> |
getConverterClass() |
(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.
|
String |
getDefaultValueString() |
Class<?> |
getItemClass()
Get the class of the individual item.
|
io.quarkus.gizmo.ResultHandle |
writeInitialization(io.quarkus.gizmo.BytecodeCreator body,
AccessorFinder accessorFinder,
io.quarkus.gizmo.ResultHandle cache,
io.quarkus.gizmo.ResultHandle smallRyeConfig) |
acceptConfigurationValueIntoMap, generateAcceptConfigurationValueIntoMap, getConfigKey, getJavadocKey, load, loadConverterClassgetConfigDefinition, getContainer, getContainer, getContainingName, isConsumeSegment, notLoadedException, toError, toErrorfinal String defaultValue
public void acceptConfigurationValue(NameIterator name, ExpandingConfigSource.Cache cache, io.smallrye.config.SmallRyeConfig config)
LeafConfigTypeacceptConfigurationValue in class LeafConfigTypename - 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 LeafConfigTypepublic void acceptConfigurationValueIntoGroup(Object enclosing, Field field, NameIterator name, io.smallrye.config.SmallRyeConfig config)
acceptConfigurationValueIntoGroup in class LeafConfigTypepublic 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 LeafConfigTypepublic String getDefaultValueString()
getDefaultValueString in class LeafConfigTypepublic Class<?> getItemClass()
LeafConfigTypeOptional, Collection, etc.getItemClass in class LeafConfigTypenull)void getDefaultValueIntoEnclosingGroup(Object enclosing, ExpandingConfigSource.Cache cache, io.smallrye.config.SmallRyeConfig config, Field field)
ConfigTypegetDefaultValueIntoEnclosingGroup in class ConfigTypeenclosing - 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 ConfigTypepublic io.quarkus.gizmo.ResultHandle writeInitialization(io.quarkus.gizmo.BytecodeCreator body,
AccessorFinder accessorFinder,
io.quarkus.gizmo.ResultHandle cache,
io.quarkus.gizmo.ResultHandle smallRyeConfig)
writeInitialization in class ConfigTypepublic Class<? extends org.eclipse.microprofile.config.spi.Converter<Double>> getConverterClass()
getConverterClass in class LeafConfigTypeCopyright © 2019 JBoss by Red Hat. All rights reserved.