Class RegExCsvFilter<T>

  • Type Parameters:
    T -
    All Implemented Interfaces:
    Filter<T>

    public class RegExCsvFilter<T>
    extends java.lang.Object
    implements Filter<T>
    This filter first splits value into comma separated values and then applies the regex match against each csv. This is used to handle the NODE_CATEGORIES case when a node has a csv list of categories. The returned result is an OR function. i.e. if any of the values matches it returns true
    Author:
    cgallen
    • Constructor Summary

      Constructors 
      Constructor Description
      RegExCsvFilter​(java.lang.String regexp)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean apply​(T value)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RegExCsvFilter

        public RegExCsvFilter​(java.lang.String regexp)
    • Method Detail

      • apply

        public boolean apply​(T value)
        Specified by:
        apply in interface Filter<T>