Class AuditLogReport
java.lang.Object
org.odpi.openmetadata.frameworks.auditlog.AuditLogReport
- Direct Known Subclasses:
OMRSAuditLogReport
AuditLogReport is a container for returning information about a hierarchy of audit logs.
-
Constructor Summary
ConstructorDescriptionDefault constructorAuditLogReport
(AuditLogReport template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Validate that an object is equal depending on their stored values.Return the reports for the hierarchy of audit logs nested in this audit log.Return the description of the component that is using this audit log.Return the count of log records for each severity code.Return the map of severity codes to severity names - if the audit log is set up correctly they should be 1-1.int
hashCode()
Return a hash code based on the values of this object.void
setChildAuditLogReports
(List<AuditLogReport> childAuditLogReports) Set up the reports for the hierarchy of audit logs nested in this audit log.void
setReportingComponent
(AuditLogReportingComponent reportingComponent) Set up the description of the component that is using this audit log.void
setSeverityCount
(Map<Integer, Integer> severityCount) Set up the count of log records for each severity code.void
setSeverityIdentification
(Map<Integer, List<String>> severityIdentification) Set up the map of severity codes to severity names - if the audit log is set up correctly they should be 1-1.toString()
Standard toString method.
-
Constructor Details
-
AuditLogReport
public AuditLogReport()Default constructor -
AuditLogReport
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getReportingComponent
Return the description of the component that is using this audit log.- Returns:
- component id, name, description and doc URL
-
setReportingComponent
Set up the description of the component that is using this audit log.- Parameters:
reportingComponent
- component id, name, description and doc URL
-
getChildAuditLogReports
Return the reports for the hierarchy of audit logs nested in this audit log.- Returns:
- reports from hierarchy of child audit logs
-
setChildAuditLogReports
Set up the reports for the hierarchy of audit logs nested in this audit log.- Parameters:
childAuditLogReports
- reports from hierarchy of child audit logs
-
getSeverityIdentification
Return the map of severity codes to severity names - if the audit log is set up correctly they should be 1-1. However, the audit log allows for components from different sources clashing on the severity code. The report helps an organization identify when this is occurring.- Returns:
- map of severity codes to list of severity names associated with it.
-
setSeverityIdentification
Set up the map of severity codes to severity names - if the audit log is set up correctly they should be 1-1. However, the audit log allows for components from different sources clashing on the severity code. The report helps an organization identify when this is occurring.- Parameters:
severityIdentification
- map of severity codes to list of severity names associated with it.
-
getSeverityCount
Return the count of log records for each severity code.- Returns:
- map of severity code to log record count
-
setSeverityCount
Set up the count of log records for each severity code.- Parameters:
severityCount
- map of severity code to log record count
-
toString
Standard toString method. -
equals
Validate that an object is equal depending on their stored values. -
hashCode
public int hashCode()Return a hash code based on the values of this object.
-