Package org.opennms.netmgt.xml.event
Class Logmsg
- java.lang.Object
-
- org.opennms.netmgt.xml.event.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 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()
String
getContent()
Returns the value of field 'content'.String
getDest()
Returns the value of field 'dest'.Boolean
getNotify()
Returns the value of field 'notify'.boolean
hasNotify()
Method hasNotify.Boolean
isNotify()
Returns the value of field 'notify'.void
setContent(String content)
Sets the value of field 'content'.void
setDest(String dest)
Sets the value of field 'dest'.void
setNotify(Boolean notify)
Sets the value of field 'notify'.String
toString()
-
-
-
Method Detail
-
deleteNotify
public void deleteNotify()
-
getContent
public 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 String getDest()
Returns the value of field 'dest'.- Returns:
- the value of field 'Dest'.
-
getNotify
public 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 Boolean isNotify()
Returns the value of field 'notify'.- Returns:
- the value of field 'Notify'.
-
setContent
public void setContent(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(String dest)
Sets the value of field 'dest'.- Parameters:
dest
- the value of field 'dest'.
-
setNotify
public void setNotify(Boolean notify)
Sets the value of field 'notify'.- Parameters:
notify
- the value of field 'notify'.
-
-