Class EventInfo


  • public class EventInfo
    extends Object
    Information about NetXMS event
    • Constructor Detail

      • EventInfo

        public EventInfo​(org.netxms.base.NXCPMessage msg,
                         long baseId,
                         EventInfo parent)
        Create from NXCP message.
        Parameters:
        msg -
        baseId -
    • Method Detail

      • getId

        public long getId()
        Returns:
        the id
      • getParent

        public EventInfo getParent()
        Returns:
        parent event or null
      • getTimeStamp

        public Date getTimeStamp()
        Returns:
        the timeStamp
      • getSourceObjectId

        public long getSourceObjectId()
        Returns:
        the sourceObjectId
      • getCode

        public int getCode()
        Returns:
        the code
      • getName

        public String getName()
        Get event name
        Returns:
        event name
      • getSeverity

        public int getSeverity()
        Returns:
        the severity
      • getMessage

        public String getMessage()
        Returns:
        the message
      • getChildren

        public EventInfo[] getChildren()
        Returns:
        the children
      • hasChildren

        public boolean hasChildren()
        Check if this object has children
        Returns:
        true if this object has children