Package org.opennms.netmgt.model.alarm
Class AlarmSummary
- java.lang.Object
-
- org.opennms.netmgt.model.alarm.AlarmSummary
-
- All Implemented Interfaces:
Serializable
,Comparable<AlarmSummary>
public class AlarmSummary extends Object implements Comparable<AlarmSummary>, Serializable
A data structure holding information on all alarms on a single node.- Author:
- Alejandro Galue
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AlarmSummary()
AlarmSummary(Integer nodeId, String nodeLabel, Date minLastEventDate, OnmsSeverity maxSeverity, Long alarmCount)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(AlarmSummary that)
long
getAlarmCount()
String
getFuzzyTimeDown()
OnmsSeverity
getMaxSeverity()
Date
getMinLastEventDate()
int
getNodeId()
String
getNodeLabel()
String
toString()
-
-
-
Constructor Detail
-
AlarmSummary
public AlarmSummary()
-
AlarmSummary
public AlarmSummary(Integer nodeId, String nodeLabel, Date minLastEventDate, OnmsSeverity maxSeverity, Long alarmCount)
-
-
Method Detail
-
getNodeId
public int getNodeId()
-
getNodeLabel
public String getNodeLabel()
-
getMinLastEventDate
public Date getMinLastEventDate()
-
getAlarmCount
public long getAlarmCount()
-
getMaxSeverity
public OnmsSeverity getMaxSeverity()
-
getFuzzyTimeDown
public String getFuzzyTimeDown()
-
compareTo
public int compareTo(AlarmSummary that)
- Specified by:
compareTo
in interfaceComparable<AlarmSummary>
-
-