Package com.logviewer.filters
Class CompositeRecordPredicate
java.lang.Object
com.logviewer.filters.CompositeRecordPredicate
- All Implemented Interfaces:
RecordPredicate
-
Constructor Summary
ConstructorsConstructorDescriptionCompositeRecordPredicate(boolean isAnd, RecordPredicate... predicates) CompositeRecordPredicate(boolean isAnd, Collection<RecordPredicate> predicates) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddPredicate(RecordPredicate recordPredicate) static RecordPredicateand(RecordPredicate... filters) static RecordPredicateand(Collection<RecordPredicate> filters) booleanisAnd()booleantest(LogRecord record, LogFilterContext ctx) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.logviewer.filters.RecordPredicate
not
-
Constructor Details
-
CompositeRecordPredicate
public CompositeRecordPredicate() -
CompositeRecordPredicate
-
CompositeRecordPredicate
-
-
Method Details
-
addPredicate
-
isAnd
public boolean isAnd() -
getPredicates
-
test
- Specified by:
testin interfaceRecordPredicate
-
and
-
and
-