Package org.opennms.netmgt.xml.eventconf
Class Logmsg
- java.lang.Object
-
- org.opennms.netmgt.xml.eventconf.Logmsg
-
- All Implemented Interfaces:
Serializable
public class Logmsg extends Object implements Serializable
The event logmsg with the destination attribute defining if event is for display only, logonly, log and display or neither. A destination attribute of 'donotpersist' indicates that Eventd persist the event to the database. A value of 'discardtraps' instructs the SNMP trap daemon to not create events for incoming traps that match this event. The optional notify attributed can be used to suppress notices on a particular event (by default it is true - i.e. a notice will be sent).- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Logmsg()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetContent()LogDestTypegetDest()BooleangetNotify()inthashCode()voidsetContent(String content)voidsetDest(LogDestType dest)voidsetNotify(boolean notify)
-
-
-
Method Detail
-
getContent
public String getContent()
-
setContent
public void setContent(String content)
-
getNotify
public Boolean getNotify()
-
setNotify
public void setNotify(boolean notify)
-
getDest
public LogDestType getDest()
-
setDest
public void setDest(LogDestType dest)
-
-