Interface Mapper
-
- All Known Implementing Classes:
AuditEventMapper
,CADFMapper
public interface Mapper
Each implementing class is expected to be stateful.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Mapper
init(PropertyGroup auditLogProperties)
initializes and loads the default values from the tenant configuration.Mapper
map(AuditLogEntry entry)
map the audit log entry to the intended format.java.lang.String
serialize()
serializes to the specific format in a string format.
-
-
-
Method Detail
-
init
Mapper init(PropertyGroup auditLogProperties) throws java.lang.Exception
initializes and loads the default values from the tenant configuration.- Parameters:
auditLogProperties
-- Returns:
- Throws:
java.lang.Exception
-
map
Mapper map(AuditLogEntry entry) throws java.lang.Exception
map the audit log entry to the intended format.- Parameters:
entry
-- Returns:
- Throws:
java.lang.Exception
-
serialize
java.lang.String serialize() throws java.lang.Exception
serializes to the specific format in a string format.- Returns:
- Throws:
java.lang.Exception
-
-