Package org.opennms.netmgt.xml.event
Class Logmsg
- java.lang.Object
-
- org.opennms.netmgt.xml.event.Logmsg
-
- All Implemented Interfaces:
java.io.Serializable
public class Logmsg extends java.lang.Object implements java.io.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 is not to persist the event to the database. 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.- Version:
- $Revision$ $Date$
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Logmsg()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Logmsg
copyFrom(ILogMsg source)
void
deleteNotify()
java.lang.String
getContent()
Returns the value of field 'content'.java.lang.String
getDest()
Returns the value of field 'dest'.java.lang.Boolean
getNotify()
Returns the value of field 'notify'.boolean
hasNotify()
Method hasNotify.java.lang.Boolean
isNotify()
Returns the value of field 'notify'.void
setContent(java.lang.String content)
Sets the value of field 'content'.void
setDest(java.lang.String dest)
Sets the value of field 'dest'.void
setNotify(java.lang.Boolean notify)
Sets the value of field 'notify'.java.lang.String
toString()
-
-
-
Method Detail
-
deleteNotify
public void deleteNotify()
-
getContent
public java.lang.String getContent()
Returns the value of field 'content'. The field 'content' has the following description: internal content storage- Returns:
- the value of field 'Content'.
-
getDest
public java.lang.String getDest()
Returns the value of field 'dest'.- Returns:
- the value of field 'Dest'.
-
getNotify
public java.lang.Boolean getNotify()
Returns the value of field 'notify'.- Returns:
- the value of field 'Notify'.
-
hasNotify
public boolean hasNotify()
Method hasNotify.- Returns:
- true if at least one Notify has been added
-
isNotify
public java.lang.Boolean isNotify()
Returns the value of field 'notify'.- Returns:
- the value of field 'Notify'.
-
setContent
public void setContent(java.lang.String content)
Sets the value of field 'content'. The field 'content' has the following description: internal content storage- Parameters:
content
- the value of field 'content'.
-
setDest
public void setDest(java.lang.String dest)
Sets the value of field 'dest'.- Parameters:
dest
- the value of field 'dest'.
-
setNotify
public void setNotify(java.lang.Boolean notify)
Sets the value of field 'notify'.- Parameters:
notify
- the value of field 'notify'.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-