Package org.opennms.web.rest.v1
Class AlarmStatsRestService.AlarmStatistics
- java.lang.Object
-
- org.opennms.web.rest.v1.AlarmStatsRestService.AlarmStatistics
-
- Enclosing class:
- AlarmStatsRestService
@Entity public static class AlarmStatsRestService.AlarmStatistics extends Object
-
-
Constructor Summary
Constructors Constructor Description AlarmStatistics()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetAcknowledgedCount()List<OnmsAlarm>getNewestAcknowledged()List<OnmsAlarm>getNewestUnacknowledged()List<OnmsAlarm>getOldestAcknowledged()List<OnmsAlarm>getOldestUnacknowledged()OnmsSeveritygetSeverity()intgetTotalCount()intgetUnacknowledgedCount()voidsetAcknowledgedCount(int count)voidsetNewestAcknowledged(OnmsAlarm alarm)voidsetNewestUnacknowledged(OnmsAlarm alarm)voidsetOldestAcknowledged(OnmsAlarm alarm)voidsetOldestUnacknowledged(OnmsAlarm alarm)voidsetSeverity(OnmsSeverity severity)voidsetTotalCount(int count)voidsetUnacknowledgedCount(int count)StringtoString()
-
-
-
Method Detail
-
getTotalCount
public int getTotalCount()
-
setTotalCount
public void setTotalCount(int count)
-
getAcknowledgedCount
public int getAcknowledgedCount()
-
setAcknowledgedCount
public void setAcknowledgedCount(int count)
-
getUnacknowledgedCount
public int getUnacknowledgedCount()
-
setUnacknowledgedCount
public void setUnacknowledgedCount(int count)
-
getSeverity
public OnmsSeverity getSeverity()
-
setSeverity
public void setSeverity(OnmsSeverity severity)
-
setNewestAcknowledged
public void setNewestAcknowledged(OnmsAlarm alarm)
-
setNewestUnacknowledged
public void setNewestUnacknowledged(OnmsAlarm alarm)
-
setOldestAcknowledged
public void setOldestAcknowledged(OnmsAlarm alarm)
-
setOldestUnacknowledged
public void setOldestUnacknowledged(OnmsAlarm alarm)
-
-