Class RegExCsvFilter<T>

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

    public class RegExCsvFilter<T>
    extends 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 Detail

      • RegExCsvFilter

        public RegExCsvFilter​(String regexp)
    • Method Detail

      • apply

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