Class IncidentSummary

java.lang.Object
org.netxms.client.events.IncidentSummary

public class IncidentSummary extends Object
Incident summary
  • Constructor Details

    • IncidentSummary

      public IncidentSummary(NXCPMessage msg, long baseId)
      Create incident object from NXCP message
      Parameters:
      msg - Source NXCP message
      baseId - Base variable ID for list parsing
  • Method Details

    • getId

      public long getId()
      Get incident ID
      Returns:
      incident ID
    • getCreationTime

      public Date getCreationTime()
      Get creation time
      Returns:
      creation time
    • getLastChangeTime

      public Date getLastChangeTime()
      Get last change time
      Returns:
      last change time
    • getState

      public IncidentState getState()
      Get incident state
      Returns:
      incident state
    • getAssignedUserId

      public int getAssignedUserId()
      Get assigned user ID
      Returns:
      assigned user ID or 0 if not assigned
    • getTitle

      public String getTitle()
      Get incident title
      Returns:
      incident title
    • getSourceObjectId

      public long getSourceObjectId()
      Get source object ID
      Returns:
      source object ID
    • getAlarmCount

      public int getAlarmCount()
      Get number of linked alarms
      Returns:
      number of linked alarms
    • isClosed

      public boolean isClosed()
      Check if incident is in terminal state (Closed)
      Returns:
      true if incident is closed
    • isResolved

      public boolean isResolved()
      Check if incident is resolved
      Returns:
      true if incident is resolved or closed
    • toString

      public String toString()
      Overrides:
      toString in class Object
      See Also: