Class ConsoleAuditLogStoreConnector
- java.lang.Object
-
- org.odpi.openmetadata.frameworks.connectors.Connector
-
- org.odpi.openmetadata.frameworks.connectors.ConnectorBase
-
- org.odpi.openmetadata.repositoryservices.connectors.stores.auditlogstore.OMRSAuditLogStoreConnectorBase
-
- org.odpi.openmetadata.adapters.repositoryservices.auditlogstore.console.ConsoleAuditLogStoreConnector
-
- All Implemented Interfaces:
OMRSAuditLogStore
public class ConsoleAuditLogStoreConnector extends OMRSAuditLogStoreConnectorBase
ConsoleAuditLogStoreConnector provides a connector implementation for a console (stdout) audit log.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.odpi.openmetadata.frameworks.connectors.ConnectorBase
ConnectorBase.ProtectedConnection
-
-
Field Summary
-
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.ConnectorBase
connectedAssetProperties, connectionBean, connectionProperties, connectorInstanceId, securedProperties
-
-
Constructor Summary
Constructors Constructor Description ConsoleAuditLogStoreConnector()Default constructor used by the connector provider.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringstoreLogRecord(OMRSAuditLogRecord logRecord)Store the audit log record in the audit log store.-
Methods inherited from class org.odpi.openmetadata.repositoryservices.connectors.stores.auditlogstore.OMRSAuditLogStoreConnectorBase
getAuditLogRecord, getAuditLogRecordsByComponent, getAuditLogRecordsBySeverity, getAuditLogRecordsByTimeStamp, getDestinationName, getJSONLogRecord, getSupportedSeverities, initialize, isSupportedSeverity, storeLogRecord, validateLogRecord
-
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.ConnectorBase
disconnect, equals, getConnectedAssetProperties, getConnection, getConnectorInstanceId, hashCode, initializeConnectedAssetProperties, isActive, start, toString
-
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.Connector
clearStatisticProperty, clearStatisticTimestamp, getConnectorStatistics, getStatisticCounter, getStatisticProperty, getStatisticTimestamp, incrementStatisticCounter, initializeStatisticCounter, setStatisticProperty, setStatisticTimestamp
-
-
-
-
Method Detail
-
storeLogRecord
public String storeLogRecord(OMRSAuditLogRecord logRecord) throws InvalidParameterException
Store the audit log record in the audit log store.- Specified by:
storeLogRecordin interfaceOMRSAuditLogStore- Specified by:
storeLogRecordin classOMRSAuditLogStoreConnectorBase- Parameters:
logRecord- log record to store- Returns:
- unique identifier assigned to the log record
- Throws:
InvalidParameterException- indicates that the logRecord parameter is invalid.
-
-