public interface Infix
| Modifier and Type | Method and Description |
|---|---|
<T> T |
get() |
static <R> R |
init(String key,
Function<io.vertx.core.json.JsonObject,R> executor,
Class<?> clazz)
Old code of BUGS static
|
static <R> R init(String key, Function<io.vertx.core.json.JsonObject,R> executor, Class<?> clazz)
Old code of BUGS static
final Annal logger = Annal.get(clazz); final JsonObject options = InfixTool.init(logger, key, clazz); final JsonObject config = null == options.getJsonObject(key) ? new JsonObject() : options.getJsonObject(key); final JsonObject ready = config.containsKey(“config”) ? config.getJsonObject(“config”) : new JsonObject(); return InfixTool.init(logger, key, ready, executor); return init(key, (config) -> executor.apply(Ut.sureJObject(config.getJsonObject(“config”))), clazz); }
<T> T get()
Copyright © 2021. All rights reserved.