com.ibm.websphere.logging.hpel.reader.filters
Class MultipleCriteriaFilter
- java.lang.Object
com.ibm.websphere.logging.hpel.reader.filters.MultipleCriteriaFilter
All implemented interfaces:
- public class MultipleCriteriaFilter
- extends java.lang.Object
- implements LogRecordFilter
Constructor Summary
Constructor and Description |
---|
MultipleCriteriaFilter(LogQueryBean logQueryBean)
construct the filter for the read API
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
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
- public MultipleCriteriaFilter(LogQueryBean logQueryBean)
construct the filter for the read API
Parameters:
logQueryBean
- bean/object with all query information Method Detail
accept
- 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