Class AuditEntryJSONWriter

java.lang.Object
org.nuxeo.audit.elasticsearch.io.AuditEntryJSONWriter

@Deprecated(since="2025.0", forRemoval=true) public class AuditEntryJSONWriter extends Object
Deprecated, for removal: This API element is subject to removal in a future version.
since 2025.0, use nuxeo-core-io instead.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    asJSON(com.fasterxml.jackson.core.JsonGenerator jg, LogEntry logEntry)
    Deprecated, for removal: This API element is subject to removal in a future version.
    protected static boolean
    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
    protected 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.
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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.
      Throws:
      IOException
    • isJsonContent

      protected 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 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