Package org.opennms.netmgt.xml.eventconf
Class Mask
- java.lang.Object
-
- org.opennms.netmgt.xml.eventconf.Mask
-
- All Implemented Interfaces:
Serializable
public class Mask extends Object implements Serializable
The Mask for event configuration: The mask contains one or more 'maskelements' which uniquely identify an event.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Mask()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addMaskelement(Maskelement element)
void
addVarbind(Varbind varbind)
EventMatcher
constructMatcher()
boolean
equals(Object obj)
Maskelement
getMaskElement(String mename)
List<Maskelement>
getMaskelements()
List<String>
getMaskElementValues(String mename)
List<Varbind>
getVarbinds()
int
hashCode()
boolean
removeMaskelement(Maskelement element)
boolean
removeVarbind(Varbind varbind)
void
setMaskelements(List<Maskelement> elements)
void
setVarbinds(List<Varbind> varbinds)
String
toString()
-
-
-
Method Detail
-
getMaskelements
public List<Maskelement> getMaskelements()
-
setMaskelements
public void setMaskelements(List<Maskelement> elements)
-
addMaskelement
public void addMaskelement(Maskelement element)
-
removeMaskelement
public boolean removeMaskelement(Maskelement element)
-
addVarbind
public void addVarbind(Varbind varbind)
-
removeVarbind
public boolean removeVarbind(Varbind varbind)
-
constructMatcher
public EventMatcher constructMatcher()
-
getMaskElement
public Maskelement getMaskElement(String mename)
-
-