Class AuditLogEntrySerializer

java.lang.Object
io.jenkins.plugins.auditlogger.AuditLogEntrySerializer
All Implemented Interfaces:
com.google.gson.JsonSerializer<AuditLogEntry>

public class AuditLogEntrySerializer extends Object implements com.google.gson.JsonSerializer<AuditLogEntry>
Gson serializer for AuditLogEntry — includes all audit-compliance fields.
  • Constructor Details

    • AuditLogEntrySerializer

      public AuditLogEntrySerializer()
  • Method Details

    • serialize

      public com.google.gson.JsonElement serialize(AuditLogEntry src, Type typeOfSrc, com.google.gson.JsonSerializationContext context)
      Specified by:
      serialize in interface com.google.gson.JsonSerializer<AuditLogEntry>