Interface AuditFilter

  • All Known Implementing Classes:
    PropertyAuditFilter

    public interface AuditFilter
    Filter of audit map values before an audit record is written.
    Author:
    Alan Davis
    • Method Detail

      • accept

        boolean accept​(String rootPath,
                       Map<String,​Serializable> auditMap)
        Returns true if the audit map values have not been discarded by audit filters.
        Parameters:
        rootPath - String a base path of AuditPath key entries concatenated with the path separator '/' (AuditApplication.AUDIT_PATH_SEPARATOR)
        auditMap - Map of values to audit, mapped by AuditPath key relative to root path.
        Returns:
        true if the audit map values should be recorded.