Package org.opennms.netmgt.xml.eventconf
Class Event
- java.lang.Object
-
- org.opennms.netmgt.xml.eventconf.Event
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Event>
public class Event extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<Event>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Event()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addAutoaction(Autoaction autoaction)
void
addFilter(Filter filter)
void
addForward(Forward forward)
void
addLoggroup(java.lang.String loggroup)
void
addOperaction(Operaction operaction)
void
addParameter(Parameter parameter)
void
addScript(Script script)
void
addVarbindsdecode(Varbindsdecode varbindsdecode)
int
compareTo(Event o)
boolean
equals(java.lang.Object obj)
AlarmData
getAlarmData()
Autoacknowledge
getAutoacknowledge()
java.util.List<Autoaction>
getAutoactions()
Correlation
getCorrelation()
java.lang.String
getDescr()
java.lang.String
getEventLabel()
java.util.List<Filter>
getFilters()
java.util.List<Forward>
getForwards()
EventOrdering.EventOrderIndex
getIndex()
java.util.List<java.lang.String>
getLoggroups()
Logmsg
getLogmsg()
Mask
getMask()
java.util.List<java.lang.String>
getMaskElementValues(java.lang.String mename)
java.lang.String
getMouseovertext()
java.util.List<Operaction>
getOperactions()
java.lang.String
getOperinstruct()
java.util.List<Parameter>
getParameters()
java.lang.Integer
getPriority()
java.util.List<Script>
getScripts()
java.lang.String
getSeverity()
Snmp
getSnmp()
Tticket
getTticket()
java.lang.String
getUei()
java.util.List<Varbindsdecode>
getVarbindsdecodes()
int
hashCode()
void
initialize(EventOrdering.EventOrderIndex eventOrderIndex)
MatchResult
matches(Event matchingEvent)
boolean
removeAutoaction(Autoaction autoaction)
boolean
removeFilter(Filter filter)
boolean
removeForward(Forward forward)
boolean
removeLoggroup(java.lang.String loggroup)
boolean
removeOperaction(Operaction operaction)
boolean
removeParameter(Parameter parameter)
boolean
removeScript(Script script)
boolean
removeVarbindsdecode(Varbindsdecode decode)
void
setAlarmData(AlarmData alarmData)
void
setAutoacknowledge(Autoacknowledge autoacknowledge)
void
setAutoactions(java.util.List<Autoaction> autoactions)
void
setCorrelation(Correlation correlation)
void
setDescr(java.lang.String descr)
void
setEventLabel(java.lang.String eventLabel)
void
setFilters(java.util.List<Filter> filters)
void
setForwards(java.util.List<Forward> forwards)
void
setIndex(EventOrdering.EventOrderIndex index)
void
setLoggroups(java.util.List<java.lang.String> loggroups)
void
setLogmsg(Logmsg logmsg)
void
setMask(Mask mask)
void
setMouseovertext(java.lang.String mouseovertext)
void
setOperactions(java.util.List<Operaction> operactions)
void
setOperinstruct(java.lang.String operinstruct)
void
setParameters(java.util.List<Parameter> parameters)
void
setPriority(java.lang.Integer priority)
void
setScripts(java.util.List<Script> scripts)
void
setSeverity(java.lang.String severity)
void
setSnmp(Snmp snmp)
void
setTticket(Tticket tticket)
void
setUei(java.lang.String uei)
void
setVarbindsdecodes(java.util.List<Varbindsdecode> decodes)
java.lang.String
toString()
-
-
-
Method Detail
-
getMask
public Mask getMask()
-
setMask
public void setMask(Mask mask)
-
getUei
public java.lang.String getUei()
-
setUei
public void setUei(java.lang.String uei)
-
getPriority
public java.lang.Integer getPriority()
-
setPriority
public void setPriority(java.lang.Integer priority)
-
getEventLabel
public java.lang.String getEventLabel()
-
setEventLabel
public void setEventLabel(java.lang.String eventLabel)
-
getSnmp
public Snmp getSnmp()
-
setSnmp
public void setSnmp(Snmp snmp)
-
getDescr
public java.lang.String getDescr()
-
setDescr
public void setDescr(java.lang.String descr)
-
getLogmsg
public Logmsg getLogmsg()
-
setLogmsg
public void setLogmsg(Logmsg logmsg)
-
getSeverity
public java.lang.String getSeverity()
-
setSeverity
public void setSeverity(java.lang.String severity)
-
getCorrelation
public Correlation getCorrelation()
-
setCorrelation
public void setCorrelation(Correlation correlation)
-
getOperinstruct
public java.lang.String getOperinstruct()
-
setOperinstruct
public void setOperinstruct(java.lang.String operinstruct)
-
getAutoactions
public java.util.List<Autoaction> getAutoactions()
-
setAutoactions
public void setAutoactions(java.util.List<Autoaction> autoactions)
-
addAutoaction
public void addAutoaction(Autoaction autoaction)
-
removeAutoaction
public boolean removeAutoaction(Autoaction autoaction)
-
getVarbindsdecodes
public java.util.List<Varbindsdecode> getVarbindsdecodes()
-
setVarbindsdecodes
public void setVarbindsdecodes(java.util.List<Varbindsdecode> decodes)
-
addVarbindsdecode
public void addVarbindsdecode(Varbindsdecode varbindsdecode)
-
removeVarbindsdecode
public boolean removeVarbindsdecode(Varbindsdecode decode)
-
getParameters
public java.util.List<Parameter> getParameters()
-
setParameters
public void setParameters(java.util.List<Parameter> parameters)
-
addParameter
public void addParameter(Parameter parameter)
-
removeParameter
public boolean removeParameter(Parameter parameter)
-
getOperactions
public java.util.List<Operaction> getOperactions()
-
setOperactions
public void setOperactions(java.util.List<Operaction> operactions)
-
addOperaction
public void addOperaction(Operaction operaction)
-
removeOperaction
public boolean removeOperaction(Operaction operaction)
-
getAutoacknowledge
public Autoacknowledge getAutoacknowledge()
-
setAutoacknowledge
public void setAutoacknowledge(Autoacknowledge autoacknowledge)
-
getLoggroups
public java.util.List<java.lang.String> getLoggroups()
-
setLoggroups
public void setLoggroups(java.util.List<java.lang.String> loggroups)
-
addLoggroup
public void addLoggroup(java.lang.String loggroup)
-
removeLoggroup
public boolean removeLoggroup(java.lang.String loggroup)
-
getTticket
public Tticket getTticket()
-
setTticket
public void setTticket(Tticket tticket)
-
getForwards
public java.util.List<Forward> getForwards()
-
setForwards
public void setForwards(java.util.List<Forward> forwards)
-
addForward
public void addForward(Forward forward)
-
removeForward
public boolean removeForward(Forward forward)
-
getScripts
public java.util.List<Script> getScripts()
-
setScripts
public void setScripts(java.util.List<Script> scripts)
-
addScript
public void addScript(Script script)
-
removeScript
public boolean removeScript(Script script)
-
getMouseovertext
public java.lang.String getMouseovertext()
-
setMouseovertext
public void setMouseovertext(java.lang.String mouseovertext)
-
getAlarmData
public AlarmData getAlarmData()
-
setAlarmData
public void setAlarmData(AlarmData alarmData)
-
getFilters
public java.util.List<Filter> getFilters()
-
setFilters
public void setFilters(java.util.List<Filter> filters)
-
addFilter
public void addFilter(Filter filter)
-
removeFilter
public boolean removeFilter(Filter filter)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
getIndex
public EventOrdering.EventOrderIndex getIndex()
-
setIndex
public void setIndex(EventOrdering.EventOrderIndex index)
-
matches
public MatchResult matches(Event matchingEvent)
-
initialize
public void initialize(EventOrdering.EventOrderIndex eventOrderIndex)
-
getMaskElementValues
public java.util.List<java.lang.String> getMaskElementValues(java.lang.String mename)
-
compareTo
public int compareTo(Event o)
- Specified by:
compareTo
in interfacejava.lang.Comparable<Event>
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-