Class OMRSAuditLogReport
java.lang.Object
org.odpi.openmetadata.frameworks.auditlog.AuditLogReport
org.odpi.openmetadata.repositoryservices.auditlog.OMRSAuditLogReport
OMRSAuditLogReport is a structure that describes the properties of the audit log running in a server.
It extends the AuditLogReport from the Audit Log Framework (ALF).
-
Constructor Summary
ConstructorDescriptionDefault constructorOMRSAuditLogReport
(AuditLogReport template) Copy/clone constructor.OMRSAuditLogReport
(OMRSAuditLogReport template) Copy/clone constructor. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Validate that an object is equal depending on their stored values.Return the list of destinations where audit log records are being sent.Return the properties that describe the server that owns the audit log.int
hashCode()
Return a hash code based on the values of this object.void
setDestinationsReport
(OMRSAuditLogDestinationsReport destinationsReport) Set up the list of destinations where audit log records are being sent.void
setOriginatorProperties
(Map<String, String> originatorProperties) Set up the properties that describe the server that owns the audit log.toString()
Standard toString method.Methods inherited from class org.odpi.openmetadata.frameworks.auditlog.AuditLogReport
getChildAuditLogReports, getReportingComponent, getSeverityCount, getSeverityIdentification, setChildAuditLogReports, setReportingComponent, setSeverityCount, setSeverityIdentification
-
Constructor Details
-
OMRSAuditLogReport
public OMRSAuditLogReport()Default constructor -
OMRSAuditLogReport
Copy/clone constructor.- Parameters:
template
- object to copy
-
OMRSAuditLogReport
Copy/clone constructor.- Parameters:
template
- object to copy
-
-
Method Details
-
getOriginatorProperties
Return the properties that describe the server that owns the audit log.- Returns:
- map of property value pairs
-
setOriginatorProperties
Set up the properties that describe the server that owns the audit log.- Parameters:
originatorProperties
- map of property value pairs
-
getDestinationsReport
Return the list of destinations where audit log records are being sent.- Returns:
- destinations report object
-
setDestinationsReport
Set up the list of destinations where audit log records are being sent.- Parameters:
destinationsReport
- destinations report object
-
toString
Standard toString method.- Overrides:
toString
in classAuditLogReport
- Returns:
- JSON style description of variables.
-
equals
Validate that an object is equal depending on their stored values.- Overrides:
equals
in classAuditLogReport
- Parameters:
objectToCompare
- object- Returns:
- boolean result
-
hashCode
public int hashCode()Return a hash code based on the values of this object.- Overrides:
hashCode
in classAuditLogReport
- Returns:
- in hash code
-