Package org.opennms.core.soa.filter
Class PatternMatchingFilter
- java.lang.Object
-
- org.opennms.core.soa.filter.AbstractFilter
-
- org.opennms.core.soa.filter.AttributeComparisonFilter
-
- org.opennms.core.soa.filter.PatternMatchingFilter
-
- All Implemented Interfaces:
Filter
public class PatternMatchingFilter extends AttributeComparisonFilter
PatternMatchingFilter- Author:
- brozow
-
-
Constructor Summary
Constructors Constructor Description PatternMatchingFilter(String attribute, String value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static String
escapeAll(String input, String chars)
static String
toFilterMatch(Pattern pattern)
static Pattern
toRegex(String value)
String
toString()
protected boolean
valueMatches(String value)
-
Methods inherited from class org.opennms.core.soa.filter.AttributeComparisonFilter
getAttribute, match
-
Methods inherited from class org.opennms.core.soa.filter.AbstractFilter
equals, hashCode
-
-
-
-
Method Detail
-
valueMatches
protected boolean valueMatches(String value)
- Specified by:
valueMatches
in classAttributeComparisonFilter
-
toString
public String toString()
- Specified by:
toString
in interfaceFilter
- Specified by:
toString
in classAttributeComparisonFilter
-
-