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 java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description AlarmStatistics()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getAcknowledgedCount()
java.util.List<OnmsAlarm>
getNewestAcknowledged()
java.util.List<OnmsAlarm>
getNewestUnacknowledged()
java.util.List<OnmsAlarm>
getOldestAcknowledged()
java.util.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)
java.lang.String
toString()
-
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
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)
-
getNewestAcknowledged
public java.util.List<OnmsAlarm> getNewestAcknowledged()
-
setNewestAcknowledged
public void setNewestAcknowledged(OnmsAlarm alarm)
-
getNewestUnacknowledged
public java.util.List<OnmsAlarm> getNewestUnacknowledged()
-
setNewestUnacknowledged
public void setNewestUnacknowledged(OnmsAlarm alarm)
-
getOldestAcknowledged
public java.util.List<OnmsAlarm> getOldestAcknowledged()
-
setOldestAcknowledged
public void setOldestAcknowledged(OnmsAlarm alarm)
-
getOldestUnacknowledged
public java.util.List<OnmsAlarm> getOldestUnacknowledged()
-
setOldestUnacknowledged
public void setOldestUnacknowledged(OnmsAlarm alarm)
-
-