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