Class OMRSAuditLogReport
- java.lang.Object
-
- org.odpi.openmetadata.frameworks.auditlog.AuditLogReport
-
- org.odpi.openmetadata.repositoryservices.auditlog.OMRSAuditLogReport
-
- All Implemented Interfaces:
Serializable
public class OMRSAuditLogReport extends AuditLogReport
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).- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description OMRSAuditLogReport()Default constructorOMRSAuditLogReport(AuditLogReport template)Copy/clone constructor.OMRSAuditLogReport(OMRSAuditLogReport template)Copy/clone constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Validate that an object is equal depending on their stored values.OMRSAuditLogDestinationsReportgetDestinationsReport()Return the list of destinations where audit log records are being sent.Map<String,String>getOriginatorProperties()Return the properties that describe the server that owns the audit log.inthashCode()Return a hash code based on the values of this object.voidsetDestinationsReport(OMRSAuditLogDestinationsReport destinationsReport)Set up the list of destinations where audit log records are being sent.voidsetOriginatorProperties(Map<String,String> originatorProperties)Set up the properties that describe the server that owns the audit log.StringtoString()Standard toString method.-
Methods inherited from class org.odpi.openmetadata.frameworks.auditlog.AuditLogReport
getChildAuditLogReports, getReportingComponent, getSeverityCount, getSeverityIdentification, setChildAuditLogReports, setReportingComponent, setSeverityCount, setSeverityIdentification
-
-
-
-
Constructor Detail
-
OMRSAuditLogReport
public OMRSAuditLogReport()
Default constructor
-
OMRSAuditLogReport
public OMRSAuditLogReport(AuditLogReport template)
Copy/clone constructor.- Parameters:
template- object to copy
-
OMRSAuditLogReport
public OMRSAuditLogReport(OMRSAuditLogReport template)
Copy/clone constructor.- Parameters:
template- object to copy
-
-
Method Detail
-
getOriginatorProperties
public Map<String,String> getOriginatorProperties()
Return the properties that describe the server that owns the audit log.- Returns:
- map of property value pairs
-
setOriginatorProperties
public void setOriginatorProperties(Map<String,String> originatorProperties)
Set up the properties that describe the server that owns the audit log.- Parameters:
originatorProperties- map of property value pairs
-
getDestinationsReport
public OMRSAuditLogDestinationsReport getDestinationsReport()
Return the list of destinations where audit log records are being sent.- Returns:
- destinations report object
-
setDestinationsReport
public void setDestinationsReport(OMRSAuditLogDestinationsReport destinationsReport)
Set up the list of destinations where audit log records are being sent.- Parameters:
destinationsReport- destinations report object
-
toString
public String toString()
Standard toString method.- Overrides:
toStringin classAuditLogReport- Returns:
- JSON style description of variables.
-
equals
public boolean equals(Object objectToCompare)
Validate that an object is equal depending on their stored values.- Overrides:
equalsin classAuditLogReport- Parameters:
objectToCompare- object- Returns:
- boolean result
-
hashCode
public int hashCode()
Return a hash code based on the values of this object.- Overrides:
hashCodein classAuditLogReport- Returns:
- in hash code
-
-