Class OMRSAuditLogStoreConnectorBase

java.lang.Object
org.odpi.openmetadata.frameworks.connectors.Connector
org.odpi.openmetadata.frameworks.connectors.ConnectorBase
org.odpi.openmetadata.repositoryservices.connectors.stores.auditlogstore.OMRSAuditLogStoreConnectorBase
All Implemented Interfaces:
org.odpi.openmetadata.frameworks.connectors.SecureConnectorExtension, org.odpi.openmetadata.frameworks.connectors.VirtualConnectorExtension, OMRSAuditLogStore

public abstract class OMRSAuditLogStoreConnectorBase extends org.odpi.openmetadata.frameworks.connectors.ConnectorBase implements OMRSAuditLogStore
OMRSAuditLogStoreConnectorBase is the base class for connectors that support the OMRSAuditLog. It has implementations of the query methods that throw "function not supported". This means that log destinations that do not support queries can ignore these methods. It also supports the start and stop method for the connector which only need to be overridden if the connector has work to do at these times
  • Method Summary

    Modifier and Type
    Method
    Description
    Retrieve a specific audit log record.
    getAuditLogRecordsByComponent(String component, Date startDate, Date endDate, int offset, int maximumRecords)
    Retrieve a list of log records written by a specific component.
    getAuditLogRecordsBySeverity(String severity, Date startDate, Date endDate, int offset, int maximumRecords)
    Retrieve a list of log records that have specific severity.
    getAuditLogRecordsByTimeStamp(Date startDate, Date endDate, int offset, int maximumRecords)
    Retrieve a list of log records written in a specified time period.
    Return the name of this audit log destination.
    Return the list of supported severities that this destination is configured to support.
    void
    initialize(String connectorInstanceId, org.odpi.openmetadata.frameworks.connectors.properties.ConnectionDetails connectionDetails)
    Call made by the ConnectorProvider to initialize the Connector with the base services.
    storeLogRecord(org.odpi.openmetadata.frameworks.auditlog.AuditLogRecord logRecord)
    Store the audit log record in the audit log store.
    abstract String
    Store the audit log record in the audit log store.

    Methods inherited from class org.odpi.openmetadata.frameworks.connectors.ConnectorBase

    disconnect, equals, getConnectedAssetProperties, getConnection, getConnectorInstanceId, hashCode, initializeConnectedAssetProperties, initializeEmbeddedConnectors, initializeSecretsStoreConnector, isActive, start, toString

    Methods inherited from class org.odpi.openmetadata.frameworks.connectors.Connector

    clearStatisticProperty, clearStatisticTimestamp, getConnectorStatistics, getStatisticCounter, getStatisticProperty, getStatisticTimestamp, incrementStatisticCounter, initializeStatisticCounter, setStatisticProperty, setStatisticTimestamp

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait