public static class CollectorJobResult.Error
extends io.vertx.core.json.JsonObject
CollectorJobResult.Error can be used to store all error related information which occur during
the processing of the CollectorJob implementation. This class extends JsonObject and adds the method
getName() to ensure that every error object has a name, which is used for the metrics.| Constructor and Description |
|---|
Error(java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
static java.util.Optional<CollectorJobResult.Error> |
fromJson(io.vertx.core.json.JsonObject error) |
java.lang.String |
getName() |
clear, containsKey, copy, encode, encodePrettily, equals, fieldNames, getBinary, getBinary, getBoolean, getBoolean, getDouble, getDouble, getFloat, getFloat, getInstant, getInstant, getInteger, getInteger, getJsonArray, getJsonArray, getJsonObject, getJsonObject, getLong, getLong, getMap, getString, getString, getValue, getValue, hashCode, isEmpty, iterator, mapFrom, mapTo, mergeIn, mergeIn, mergeIn, put, put, put, put, put, put, put, put, put, put, put, put, put, putNull, readFromBuffer, remove, size, stream, toBuffer, toString, writeToBufferpublic static java.util.Optional<CollectorJobResult.Error> fromJson(io.vertx.core.json.JsonObject error)
public java.lang.String getName()