Package org.yamcs.http.api
Class EventFilter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbeforeItem(Tuple tuple) Called for each new item, before any comparisons.protected booleanmatchesLiteral(Tuple tuple, String lowercaseLiteral) Implementatinos must search the provided item for the given literal in a manner that makes sense to the type of item.Methods inherited from class org.yamcs.utils.parser.Filter
addBinaryField, addBooleanField, addEnumField, addNumberCollectionField, addNumberField, addPrefixField, addStringCollectionField, addStringField, includesTextSearch, isQueryField, matches, parse, printExpression
-
Constructor Details
-
EventFilter
- Throws:
ParseExceptionUnknownFieldException
-
-
Method Details
-
beforeItem
Description copied from class:FilterCalled for each new item, before any comparisons.The default implementation does nothing, concrete classes may override to hook any initialization logic.
- Overrides:
beforeItemin classFilter<Tuple>
-
matchesLiteral
Description copied from class:FilterImplementatinos must search the provided item for the given literal in a manner that makes sense to the type of item. Search should be exact and case-insensitive.- Specified by:
matchesLiteralin classFilter<Tuple>- Parameters:
tuple- Item to matchlowercaseLiteral- A search string. Always lowercase.
-