Package org.opennms.netmgt.xml.eventconf
Class EventMatchers
- java.lang.Object
-
- org.opennms.netmgt.xml.eventconf.EventMatchers
-
public abstract class EventMatchers extends Object
-
-
Constructor Summary
Constructors Constructor Description EventMatchers()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EventMatcher
and(EventMatcher... matchers)
static EventMatcher
falseMatcher()
static Field
field(String name)
static EventMatcher
or(EventMatcher... matchers)
static EventMatcher
trueMatcher()
static EventMatcher
ueiMatcher(String uei)
static EventMatcher
valueEqualsMatcher(Field field, String value)
static EventMatcher
valueMatchesRegexMatcher(Field field, String value)
static EventMatcher
valueStartsWithMatcher(Field field, String value)
static Field
varbind(int vbnumber)
-
-
-
Method Detail
-
falseMatcher
public static EventMatcher falseMatcher()
-
trueMatcher
public static EventMatcher trueMatcher()
-
ueiMatcher
public static EventMatcher ueiMatcher(String uei)
-
and
public static EventMatcher and(EventMatcher... matchers)
-
or
public static EventMatcher or(EventMatcher... matchers)
-
varbind
public static Field varbind(int vbnumber)
-
valueStartsWithMatcher
public static EventMatcher valueStartsWithMatcher(Field field, String value)
-
valueMatchesRegexMatcher
public static EventMatcher valueMatchesRegexMatcher(Field field, String value)
-
valueEqualsMatcher
public static EventMatcher valueEqualsMatcher(Field field, String value)
-
-