public class GlobalCustomFieldsJsonProvider<Event extends DeferredProcessingAware> extends AbstractJsonProvider<Event> implements JsonFactoryAware
context| Constructor and Description |
|---|
GlobalCustomFieldsJsonProvider() |
| Modifier and Type | Method and Description |
|---|---|
String |
getCustomFields() |
JsonNode |
getCustomFieldsNode() |
void |
setCustomFields(String customFields) |
void |
setCustomFieldsNode(JsonNode customFields) |
void |
setJsonFactory(JsonFactory jsonFactory) |
void |
start() |
void |
writeTo(JsonGenerator generator,
Event event)
Writes information about the event,
to the given generator.
|
isStarted, prepareForDeferredProcessing, stopaddError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContextclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, setContextpublic void writeTo(JsonGenerator generator, Event event) throws IOException
JsonProviderwriteTo in interface JsonProvider<Event extends DeferredProcessingAware>IOExceptionpublic void start()
start in interface LifeCyclestart in class AbstractJsonProvider<Event extends DeferredProcessingAware>public void setCustomFields(String customFields)
public String getCustomFields()
public JsonNode getCustomFieldsNode()
public void setCustomFieldsNode(JsonNode customFields)
public void setJsonFactory(JsonFactory jsonFactory)
setJsonFactory in interface JsonFactoryAwareCopyright © 2020. All rights reserved.