public class LongConfigType extends LeafConfigType
| Modifier and Type | Field and Description |
|---|---|
(package private) String |
defaultValue |
MAP_PUT_METHOD, NI_GET_NEXT_SEGMENT, NI_HAS_NEXT_METHOD, NI_NEXT_METHOD, NI_PREV_METHOD, OBJ_TO_STRING_METHOD, OPT_EMPTY_METHOD, OPT_OF_NULLABLE_METHOD, OPT_OR_ELSE_METHOD, SRC_CONVERT_METHOD, SRC_GET_OPT_METHOD, SRC_GET_VALUE, SRC_GET_VALUES_METHOD| Constructor and Description |
|---|
LongConfigType(String containingName,
CompoundConfigType container,
boolean consumeSegment,
String defaultValue) |
| Modifier and Type | Method and Description |
|---|---|
void |
acceptConfigurationValue(NameIterator name,
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 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 config) |
(package private) void |
getDefaultValueIntoEnclosingGroup(Object enclosing,
io.smallrye.config.SmallRyeConfig config,
Field field)
Get the default value of this type into the enclosing element.
|
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 smallRyeConfig) |
acceptConfigurationValueIntoMap, generateAcceptConfigurationValueIntoMap, loadgetConfigDefinition, getContainer, getContainer, getContainingName, isConsumeSegment, notLoadedException, toError, toErrorfinal String defaultValue
public LongConfigType(String containingName, CompoundConfigType container, boolean consumeSegment, String defaultValue)
public void acceptConfigurationValue(NameIterator name, 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 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 Class<?> getItemClass()
LeafConfigTypeOptional, Collection, etc.getItemClass in class LeafConfigTypenull)void getDefaultValueIntoEnclosingGroup(Object enclosing, 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 config)
generateGetDefaultValueIntoEnclosingGroup in class ConfigTypepublic io.quarkus.gizmo.ResultHandle writeInitialization(io.quarkus.gizmo.BytecodeCreator body,
AccessorFinder accessorFinder,
io.quarkus.gizmo.ResultHandle smallRyeConfig)
writeInitialization in class ConfigTypeCopyright © 2019 JBoss by Red Hat. All rights reserved.