com.ibm.websphere.logging.hpel.reader.filters

Class MultipleCriteriaFilter

  1. java.lang.Object
  2. extended bycom.ibm.websphere.logging.hpel.reader.filters.MultipleCriteriaFilter
All implemented interfaces:
LogRecordFilter

  1. public class MultipleCriteriaFilter
  2. extends java.lang.Object
  3. implements LogRecordFilter
filter class for all remote reader functionality. Note that an attempt is made to do all heavy processing in the constructor so that the per-record invocations go as quickly as possible.

Constructor Summary

Constructor and Description
MultipleCriteriaFilter(LogQueryBean logQueryBean)
construct the filter for the read API

Method Summary

Modifier and Type Method and Description
  1. boolean
accept(RepositoryLogRecord record)
filter current record per criteria passed in.
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

MultipleCriteriaFilter

  1. public MultipleCriteriaFilter(LogQueryBean logQueryBean)
construct the filter for the read API
Parameters:
logQueryBean - bean/object with all query information

Method Detail

accept

  1. public boolean accept(RepositoryLogRecord record)
filter current record per criteria passed in. Date filtering done prior to filter invocation any failure of a criteria results in a false return (ie: don't accept record)
Specified by:
accept in interface LogRecordFilter
Parameters:
record - RepositoryLogRecord to filter
Returns:
true or false as to keeping this record