Class YamlListObjectHandler
java.lang.Object
io.quarkus.spring.boot.properties.deployment.YamlListObjectHandler
Class used to handle all the plumbing needed to support fields with types like
List<SomeClass>
values for which can only be provided in YAML.
The basic idea for handling these fields is to convert the string value of the field (which is SR Config
populates with the "serialized" value of the field) using SnakeYAML.
To achieve that various intermediate classes and Yaml configuration need to be generated.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static class(package private) static classAn abstraction over Field and Method which we will use in order to keep the same code for Class and Interface cases(package private) static class -
Constructor Summary
ConstructorsConstructorDescriptionYamlListObjectHandler(io.quarkus.gizmo.ClassOutput classOutput, org.jboss.jandex.IndexView index, io.quarkus.deployment.annotations.BuildProducer<io.quarkus.deployment.builditem.nativeimage.ReflectiveClassBuildItem> reflectiveClasses) -
Method Summary
Modifier and TypeMethodDescriptionio.quarkus.gizmo.ResultHandlehandle(YamlListObjectHandler.Member member, io.quarkus.gizmo.MethodCreator configPopulator, io.quarkus.gizmo.ResultHandle configObject, String configName, String fullConfigName)
-
Constructor Details
-
YamlListObjectHandler
public YamlListObjectHandler(io.quarkus.gizmo.ClassOutput classOutput, org.jboss.jandex.IndexView index, io.quarkus.deployment.annotations.BuildProducer<io.quarkus.deployment.builditem.nativeimage.ReflectiveClassBuildItem> reflectiveClasses)
-
-
Method Details
-
handle
public io.quarkus.gizmo.ResultHandle handle(YamlListObjectHandler.Member member, io.quarkus.gizmo.MethodCreator configPopulator, io.quarkus.gizmo.ResultHandle configObject, String configName, String fullConfigName)
-