Class YamlListObjectHandler

java.lang.Object
io.quarkus.spring.boot.properties.deployment.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 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)