Class RegExCsvFilter<T>
- java.lang.Object
-
- org.opennms.features.topology.plugins.topo.asset.filter.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)
-