Class FVTAuditLogDestination

java.lang.Object
org.odpi.openmetadata.frameworks.auditlog.AuditLogDestination
org.odpi.openmetadata.fvt.utilities.auditlog.FVTAuditLogDestination

public class FVTAuditLogDestination extends org.odpi.openmetadata.frameworks.auditlog.AuditLogDestination
FVTAuditLogDestination is the logging destination for FVT tests.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addLogRecord(org.odpi.openmetadata.frameworks.auditlog.AuditLogRecord logRecord)
    Add the new log record to the audit log.
    List<org.odpi.openmetadata.frameworks.auditlog.AuditLogRecord>
    Retrieve the AuditLogRecords collected from the client during testing.

    Methods inherited from class org.odpi.openmetadata.frameworks.auditlog.AuditLogDestination

    getOriginatorProperties

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • FVTAuditLogDestination

      public FVTAuditLogDestination()
  • Method Details

    • addLogRecord

      public void addLogRecord(org.odpi.openmetadata.frameworks.auditlog.AuditLogRecord logRecord)
      Add the new log record to the audit log.
      Specified by:
      addLogRecord in class org.odpi.openmetadata.frameworks.auditlog.AuditLogDestination
      Parameters:
      logRecord - the log record
    • getAuditLogRecords

      public List<org.odpi.openmetadata.frameworks.auditlog.AuditLogRecord> getAuditLogRecords()
      Retrieve the AuditLogRecords collected from the client during testing.
      Returns:
      copy of the audit log records collected so far