Class YamlListObjectHandler


  • class YamlListObjectHandler
    extends Object
    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.
    • 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)