Interface AuditEventMapper
- All Known Implementing Classes:
JsonAuditEventMapper
public interface AuditEventMapper
An interface that defines how an
AuditEvent
is written to a string, and read from a string.- Author:
- Martin Lindström
-
Method Summary
-
Method Details
-
write
Serializes the AuditEvent to aString
.- Parameters:
event
- to serialize- Returns:
- the string
-
read
Deserializes AuditEvent from its string representation.- Parameters:
event
- to deserialize- Returns:
- an
AuditEvent
-