Class AndFilter

  • All Implemented Interfaces:
    Destroyable, GlobalInfoSupporter, LoggingLevelHandler, LoggingSupporter, OptionHandler, SizeOfHandler, Serializable

    public class AndFilter
    extends AbstractMultiFilter
    Combines the filter results using a boolean AND.

    Valid options are:

    -logging-level <OFF|SEVERE|WARNING|INFO|CONFIG|FINE|FINER|FINEST> (property: loggingLevel)
        The logging level for outputting errors and debugging output.
        default: WARNING
    -filter <adams.flow.standalone.logevent.AbstractLogRecordFilter> [-filter ...] (property: filters)
        The filters to combine using AND.
        default: adams.flow.standalone.logevent.AcceptAllFilter
    fracpete (fracpete at waikato dot ac dot nz)
    See Also:
    Serialized Form
    • Constructor Detail

      • AndFilter

        public AndFilter()
    • Method Detail

      • filtersTipText

        public String filtersTipText()
        Returns the tip text for this property.
        Specified by:
        filtersTipText in class AbstractMultiFilter
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • acceptRecord

        public boolean acceptRecord​(LogRecord record)
        Returns whether the log record is accepted or not for further processing.
        Specified by:
        acceptRecord in class AbstractLogRecordFilter
        record - the record to check
        true if accepted