class YamlListObjectHandler extends Object
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.| Modifier and Type | Class and 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 and Description |
|---|
YamlListObjectHandler(io.quarkus.gizmo.ClassOutput classOutput,
org.jboss.jandex.IndexView index,
BuildProducer<ReflectiveClassBuildItem> reflectiveClasses) |
| Modifier and Type | Method and Description |
|---|---|
io.quarkus.gizmo.ResultHandle |
handle(YamlListObjectHandler.Member member,
io.quarkus.gizmo.MethodCreator configPopulator,
io.quarkus.gizmo.ResultHandle configObject,
String configName,
String fullConfigName) |
public YamlListObjectHandler(io.quarkus.gizmo.ClassOutput classOutput,
org.jboss.jandex.IndexView index,
BuildProducer<ReflectiveClassBuildItem> reflectiveClasses)
public io.quarkus.gizmo.ResultHandle handle(YamlListObjectHandler.Member member, io.quarkus.gizmo.MethodCreator configPopulator, io.quarkus.gizmo.ResultHandle configObject, String configName, String fullConfigName)
Copyright © 2021 JBoss by Red Hat. All rights reserved.