Class YamlListObjectHandler
- java.lang.Object
-
- io.quarkus.arc.deployment.configproperties.YamlListObjectHandler
-
class YamlListObjectHandler extends Object
Class used to handle all the plumbing needed to support fields with types likeList<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 Classes Modifier and Type Class Description (package private) static class
YamlListObjectHandler.FieldMember
(package private) static class
YamlListObjectHandler.Member
An 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
YamlListObjectHandler.MethodReturnTypeMember
-
Constructor Summary
Constructors Constructor Description YamlListObjectHandler(io.quarkus.gizmo.ClassOutput classOutput, org.jboss.jandex.IndexView index, BuildProducer<ReflectiveClassBuildItem> reflectiveClasses)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.quarkus.gizmo.ResultHandle
handle(YamlListObjectHandler.Member member, io.quarkus.gizmo.MethodCreator configPopulator, io.quarkus.gizmo.ResultHandle configObject, String configName, String fullConfigName)
-
-
-
Constructor Detail
-
YamlListObjectHandler
public YamlListObjectHandler(io.quarkus.gizmo.ClassOutput classOutput, org.jboss.jandex.IndexView index, BuildProducer<ReflectiveClassBuildItem> reflectiveClasses)
-
-
Method Detail
-
handle
public io.quarkus.gizmo.ResultHandle handle(YamlListObjectHandler.Member member, io.quarkus.gizmo.MethodCreator configPopulator, io.quarkus.gizmo.ResultHandle configObject, String configName, String fullConfigName)
-
-