Package io.jenkins.plugins.auditlogger
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.google.gson.JsonElementserialize(AuditLogEntry src, Type typeOfSrc, com.google.gson.JsonSerializationContext context)
-
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:
serializein interfacecom.google.gson.JsonSerializer<AuditLogEntry>
-