Class AuditLogDestination
java.lang.Object
org.odpi.openmetadata.frameworks.auditlog.AuditLogDestination
- Direct Known Subclasses:
FVTAuditLogDestination
,OMRSAuditLogDestination
AuditLogDestination provides the support to push audit log records to the desired locations
for either storage or processing.
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprotected
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
Modifier and TypeMethodDescriptionabstract void
addLogRecord
(AuditLogRecord logRecord) Log an audit log record for an event, decision, error, or exception detected by the open metadata services.Return the map of properties used to describe the originator process/server.
-
Field Details
-
originatorProperties
-
-
Constructor Details
-
AuditLogDestination
protected AuditLogDestination()Default constructor for subclasses to give them an opportunity to build the originator properties. -
AuditLogDestination
The normal constructor takes the description of the process/server that is using the audit log. It is added to every log record.- Parameters:
originatorProperties
- map of name-value pairs
-
-
Method Details
-
getOriginatorProperties
Return the map of properties used to describe the originator process/server.- Returns:
- map of name-value pairs
-
addLogRecord
Log an audit log record for an event, decision, error, or exception detected by the open metadata services.- Parameters:
logRecord
- the log record
-