public abstract class LeafConfigType extends ConfigType
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 |
|---|
LeafConfigType(String containingName,
CompoundConfigType container,
boolean consumeSegment) |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
acceptConfigurationValue(NameIterator name,
io.smallrye.config.SmallRyeConfig config)
Handle a configuration key from the input file.
|
(package private) abstract void |
acceptConfigurationValueIntoGroup(Object enclosing,
Field field,
NameIterator name,
io.smallrye.config.SmallRyeConfig config) |
abstract void |
generateAcceptConfigurationValue(io.quarkus.gizmo.BytecodeCreator body,
io.quarkus.gizmo.ResultHandle name,
io.quarkus.gizmo.ResultHandle config) |
(package private) abstract 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) |
abstract Class<?> |
getItemClass()
Get the class of the individual item.
|
void |
load()
Load all configuration classes to enable configuration to be instantiated.
|
generateGetDefaultValueIntoEnclosingGroup, getConfigDefinition, getContainer, getContainer, getContainingName, getDefaultValueIntoEnclosingGroup, isConsumeSegment, notLoadedException, toError, toError, writeInitializationLeafConfigType(String containingName, CompoundConfigType container, boolean consumeSegment)
public void load()
ConfigTypeload in class ConfigTypepublic abstract Class<?> getItemClass()
Optional, Collection, etc.null)public abstract void acceptConfigurationValue(@NotNull
NameIterator name,
@NotNull
io.smallrye.config.SmallRyeConfig config)
name - the configuration property nameconfig - the source configurationpublic abstract void generateAcceptConfigurationValue(io.quarkus.gizmo.BytecodeCreator body,
io.quarkus.gizmo.ResultHandle name,
io.quarkus.gizmo.ResultHandle config)
abstract void acceptConfigurationValueIntoGroup(Object enclosing, Field field, NameIterator name, io.smallrye.config.SmallRyeConfig config)
abstract 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)
Copyright © 2019 JBoss by Red Hat. All rights reserved.