Class AuditLogDestination
- java.lang.Object
-
- org.odpi.openmetadata.frameworks.auditlog.AuditLogDestination
-
public abstract class AuditLogDestination extends Object
AuditLogDestination provides the support to push audit log records to the desired locations for either storage or processing.
-
-
Field Summary
Fields Modifier and Type Field Description protected Map<String,String>originatorProperties
-
Constructor Summary
Constructors Modifier Constructor Description protectedAuditLogDestination()Default constructor for subclasses to give them an opportunity to build the originator properties.AuditLogDestination(Map<String,String> originatorProperties)The normal constructor takes the description of the process/server that is using the audit log.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract voidaddLogRecord(AuditLogRecord logRecord)Log an audit log record for an event, decision, error, or exception detected by the open metadata services.Map<String,String>getOriginatorProperties()Return the map of properties used to describe the originator process/server.
-
-
-
Method Detail
-
getOriginatorProperties
public Map<String,String> getOriginatorProperties()
Return the map of properties used to describe the originator process/server.- Returns:
- map of name-value pairs
-
addLogRecord
public abstract void addLogRecord(AuditLogRecord logRecord)
Log an audit log record for an event, decision, error, or exception detected by the open metadata services.- Parameters:
logRecord- the log record
-
-