Class CADFMapper
- java.lang.Object
-
- org.linuxforhealth.fhir.audit.mapper.impl.CADFMapper
-
-
Constructor Summary
Constructors Constructor Description CADFMapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CadfEvent
createCadfEvent(AuditLogEntry logEntry)
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
public Mapper init(PropertyGroup auditLogProperties) throws java.lang.Exception
Description copied from interface:Mapper
initializes and loads the default values from the tenant configuration.
-
map
public Mapper map(AuditLogEntry entry) throws java.lang.Exception
Description copied from interface:Mapper
map the audit log entry to the intended format.
-
serialize
public java.lang.String serialize() throws java.lang.Exception
Description copied from interface:Mapper
serializes to the specific format in a string format.
-
createCadfEvent
public CadfEvent createCadfEvent(AuditLogEntry logEntry) throws java.lang.IllegalStateException, java.io.IOException
- Throws:
java.lang.IllegalStateException
java.io.IOException
-
-