Class 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 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 Detail

      • Logmsg

        public Logmsg()
    • Method Detail

      • getContent

        public java.lang.String getContent()
      • setContent

        public void setContent​(java.lang.String content)
      • getNotify

        public java.lang.Boolean getNotify()
      • setNotify

        public void setNotify​(boolean notify)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object