public class YamlProcessor extends Object implements ConfigProcessor
Modifier and Type | Field and Description |
---|---|
static ObjectMapper |
YAML_MAPPER |
Constructor and Description |
---|
YamlProcessor() |
Modifier and Type | Method and Description |
---|---|
String |
name()
Name of the processor, generally the name of the format it handles.
|
Future<JsonObject> |
process(Vertx vertx,
JsonObject configuration,
Buffer input)
Transforms the given
input into a JsonObject . |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
process
public static ObjectMapper YAML_MAPPER
public String name()
ConfigProcessor
name
in interface ConfigProcessor
public Future<JsonObject> process(Vertx vertx, JsonObject configuration, Buffer input)
ConfigProcessor
process
in interface ConfigProcessor
vertx
- the Vert.x instanceconfiguration
- the processor configuration, may be null
input
- the input, must not be null
Copyright © 2022 Eclipse. All rights reserved.