Class EventFilter

java.lang.Object
org.yamcs.utils.parser.Filter<Tuple>
org.yamcs.http.api.EventFilter

public class EventFilter extends Filter<Tuple>
  • Constructor Details

  • Method Details

    • beforeItem

      public void beforeItem(Tuple tuple)
      Description copied from class: Filter
      Called for each new item, before any comparisons.

      The default implementation does nothing, concrete classes may override to hook any initialization logic.

      Overrides:
      beforeItem in class Filter<Tuple>
    • matchesLiteral

      protected boolean matchesLiteral(Tuple tuple, String lowercaseLiteral)
      Description copied from class: Filter
      Implementatinos 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:
      matchesLiteral in class Filter<Tuple>
      Parameters:
      tuple - Item to match
      lowercaseLiteral - A search string. Always lowercase.