Class AlarmSummary

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<AlarmSummary>

    public class AlarmSummary
    extends java.lang.Object
    implements java.lang.Comparable<AlarmSummary>, java.io.Serializable
    A data structure holding information on all alarms on a single node.
    Author:
    Alejandro Galue
    See Also:
    Serialized Form
    • Constructor Detail

      • AlarmSummary

        public AlarmSummary()
      • AlarmSummary

        public AlarmSummary​(java.lang.Integer nodeId,
                            java.lang.String nodeLabel,
                            java.util.Date minLastEventDate,
                            OnmsSeverity maxSeverity,
                            java.lang.Long alarmCount)
    • Method Detail

      • getNodeId

        public int getNodeId()
      • getNodeLabel

        public java.lang.String getNodeLabel()
      • getMinLastEventDate

        public java.util.Date getMinLastEventDate()
      • getAlarmCount

        public long getAlarmCount()
      • getFuzzyTimeDown

        public java.lang.String getFuzzyTimeDown()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • compareTo

        public int compareTo​(AlarmSummary that)
        Specified by:
        compareTo in interface java.lang.Comparable<AlarmSummary>