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 int
getAcknowledgedCount()
List<OnmsAlarm>
getNewestAcknowledged()
List<OnmsAlarm>
getNewestUnacknowledged()
List<OnmsAlarm>
getOldestAcknowledged()
List<OnmsAlarm>
getOldestUnacknowledged()
OnmsSeverity
getSeverity()
int
getTotalCount()
int
getUnacknowledgedCount()
void
setAcknowledgedCount(int count)
void
setNewestAcknowledged(OnmsAlarm alarm)
void
setNewestUnacknowledged(OnmsAlarm alarm)
void
setOldestAcknowledged(OnmsAlarm alarm)
void
setOldestUnacknowledged(OnmsAlarm alarm)
void
setSeverity(OnmsSeverity severity)
void
setTotalCount(int count)
void
setUnacknowledgedCount(int count)
String
toString()
-
-
-
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)
-
-