Package org.nuxeo.audit.elasticsearch.io
Class AuditEntryJSONWriter
java.lang.Object
org.nuxeo.audit.elasticsearch.io.AuditEntryJSONWriter
Deprecated, for removal: This API element is subject to removal in a future version.
since 2025.0, use nuxeo-core-io instead.
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionstatic void
Deprecated, for removal: This API element is subject to removal in a future version.since 2025.0, useMarshallerHelper.objectToJson(Object, RenderingContext)
insteadprotected static boolean
isJsonContent
(String value) Deprecated, for removal: This API element is subject to removal in a future version.Helper method used to determine if a String field is actually nested JSONprotected static void
writeField
(com.fasterxml.jackson.core.JsonGenerator jg, String name, String value) Deprecated, for removal: This API element is subject to removal in a future version.
-
Constructor Details
-
AuditEntryJSONWriter
public AuditEntryJSONWriter()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
asJSON
@Deprecated(since="2025.0", forRemoval=true) public static void asJSON(com.fasterxml.jackson.core.JsonGenerator jg, LogEntry logEntry) throws IOException Deprecated, for removal: This API element is subject to removal in a future version.since 2025.0, useMarshallerHelper.objectToJson(Object, RenderingContext)
instead- Throws:
IOException
-
isJsonContent
Deprecated, for removal: This API element is subject to removal in a future version.Helper method used to determine if a String field is actually nested JSON- Since:
- 7.4
-
writeField
protected static void writeField(com.fasterxml.jackson.core.JsonGenerator jg, String name, String value) throws IOException Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
IOException
-