Class AuditLogDestination

java.lang.Object
org.odpi.openmetadata.frameworks.auditlog.AuditLogDestination
Direct Known Subclasses:
FVTAuditLogDestination, OMRSAuditLogDestination

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 Details

  • Constructor Details

    • AuditLogDestination

      protected AuditLogDestination()
      Default constructor for subclasses to give them an opportunity to build the originator properties.
    • AuditLogDestination

      public AuditLogDestination(Map<String,String> originatorProperties)
      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

      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