Package org.opennms.netmgt.xml.eventconf
Class MatchResult
- java.lang.Object
-
- org.opennms.netmgt.xml.eventconf.MatchResult
-
public class MatchResult extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static MatchResult
FALSE
static MatchResult
TRUE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MatchResult
and(MatchResult other)
java.util.Map<java.lang.String,java.lang.String>
getEventParameters()
boolean
matched()
static MatchResult
of(boolean matches)
static MatchResult
of(boolean matches, java.util.Map<java.lang.String,java.lang.String> eventParameters)
-
-
-
Field Detail
-
FALSE
public static final MatchResult FALSE
-
TRUE
public static final MatchResult TRUE
-
-
Method Detail
-
of
public static MatchResult of(boolean matches)
-
of
public static MatchResult of(boolean matches, java.util.Map<java.lang.String,java.lang.String> eventParameters)
-
and
public MatchResult and(MatchResult other)
-
matched
public boolean matched()
-
getEventParameters
public java.util.Map<java.lang.String,java.lang.String> getEventParameters()
-
-