Class SuppressionFilter

    • Method Detail

      • setFile

        public void setFile​(String fileName)
        Sets name of the supression file.
        Parameters:
        fileName - name of the suppressions file.
      • setOptional

        public void setOptional​(boolean optional)
        Sets whether config file existence is optional.
        Parameters:
        optional - tells if config file existence is optional.
      • accept

        public boolean accept​(AuditEvent event)
        Description copied from interface: Filter
        Determines whether or not a filtered AuditEvent is accepted.
        Specified by:
        accept in interface Filter
        Parameters:
        event - the AuditEvent to filter.
        Returns:
        true if the event is accepted.