Package | Description |
---|---|
org.opennms.web.alarm |
TODO: add package overview sentence here.
|
Modifier and Type | Method and Description |
---|---|
Alarm |
WebAlarmRepository.getAlarm(int alarmId)
Gets and alarm.
|
Alarm |
JdbcWebAlarmRepository.getAlarm(int alarmId)
Deprecated.
Gets and alarm.
|
Alarm |
DaoWebAlarmRepository.getAlarm(int alarmId)
Gets and alarm.
|
static Alarm[] |
AlarmFactory.getAlarms()
Return all unacknowledged alarms sorted by time.
|
static Alarm[] |
AlarmFactory.getAlarms(AcknowledgeType ackType)
Return all unacknowledged or acknowledged alarms sorted by time.
|
static Alarm |
AlarmFactory.getAlarms(int alarmId)
Return a specific alarm.
|
static Alarm[] |
AlarmFactory.getAlarms(SortStyle sortStyle)
Return all unacknowledged alarms sorted by the given sort style.
|
static Alarm[] |
AlarmFactory.getAlarms(SortStyle sortStyle,
AcknowledgeType ackType)
Return all alarms (optionally only unacknowledged alarms) sorted by the
given sort style.
|
static Alarm[] |
AlarmFactory.getAlarms(SortStyle sortStyle,
AcknowledgeType ackType,
Filter[] filters)
Return all alarms (optionally only unacknowledged alarms) sorted by the
given sort style.
|
static Alarm[] |
AlarmFactory.getAlarms(SortStyle sortStyle,
AcknowledgeType ackType,
Filter[] filters,
int limit,
int offset)
Return all alarms (optionally only unacknowledged alarms) sorted by the
given sort style.
|
static Alarm[] |
AlarmFactory.getAlarms(SortStyle sortStyle,
boolean includeAcknowledged)
Return all alarms (optionally only unacknowledged alarms) sorted by the
given sort style.
|
static Alarm[] |
AlarmFactory.getAlarmsForInterface(int nodeId,
String ipAddress,
javax.servlet.ServletContext servletContext)
Return all unacknowledged alarms sorted by event ID for the given
interface.
|
static Alarm[] |
AlarmFactory.getAlarmsForInterface(int nodeId,
String ipAddress,
SortStyle sortStyle,
AcknowledgeType ackType,
int throttle,
int offset,
javax.servlet.ServletContext servletContext)
Return some maximum number of alarms or less (optionally only
unacknowledged alarms) sorted by the given sort style for the given node
and IP address.
|
static Alarm[] |
AlarmFactory.getAlarmsForInterface(String ipAddress)
Return all unacknowledged alarms sorted by time for that have the given
IP address, regardless of what node they belong to.
|
static Alarm[] |
AlarmFactory.getAlarmsForInterface(String ipAddress,
boolean includeAcknowledged)
Deprecated.
Replaced by
" #getEventsForInterface(String,SortStyle,AcknowledgeType) getEventsForInterface( String, SortStyle, AcknowledgeType )"
|
static Alarm[] |
AlarmFactory.getAlarmsForInterface(String ipAddress,
SortStyle sortStyle,
AcknowledgeType ackType,
int throttle,
int offset)
Return some maximum number of alarms or less (optionally only
unacknowledged alarms) sorted by the given sort style for the given IP
address.
|
static Alarm[] |
AlarmFactory.getAlarmsForNode(int nodeId,
javax.servlet.ServletContext servletContext)
Return all unacknowledged alarms sorted by alarm ID for the given node.
|
static Alarm[] |
AlarmFactory.getAlarmsForNode(int nodeId,
SortStyle sortStyle,
AcknowledgeType ackType,
int throttle,
int offset,
javax.servlet.ServletContext servletContext)
Return some maximum number of alarms or less (optionally only
unacknowledged alarms) sorted by the given sort style for the given node.
|
static Alarm[] |
AlarmFactory.getAlarmsForNode(int nodeId,
SortStyle sortStyle,
AcknowledgeType ackType,
javax.servlet.ServletContext servletContext)
Return all alarms (optionally only unacknowledged alarms) sorted by the
given sort style for the given node.
|
static Alarm[] |
AlarmFactory.getAlarmsForPoller(String poller)
Return all unacknowledged alarms sorted by time for that have the given
distributed poller.
|
static Alarm[] |
AlarmFactory.getAlarmsForPoller(String poller,
boolean includeAcknowledged)
Return all alarms (optionally only unacknowledged alarms) sorted by time
that have the given distributed poller.
|
static Alarm[] |
AlarmFactory.getAlarmsForService(int serviceId,
boolean includeAcknowledged,
javax.servlet.ServletContext servletContext)
Return all alarms (optionally only unacknowledged alarms) sorted by time
for the given service type, regardless of what node or interface they
belong to.
|
static Alarm[] |
AlarmFactory.getAlarmsForService(int serviceId,
javax.servlet.ServletContext servletContext)
Return all unacknowledged alarms sorted by time for the given service
type, regardless of what node or interface they belong to.
|
static Alarm[] |
AlarmFactory.getAlarmsForService(int serviceId,
SortStyle sortStyle,
AcknowledgeType ackType,
int throttle,
int offset,
javax.servlet.ServletContext servletContext)
Return some maximum number of alarms or less (optionally only
unacknowledged alarms) sorted by the given sort style for the given
service ID.
|
static Alarm[] |
AlarmFactory.getAlarmsForService(int nodeId,
String ipAddress,
int serviceId,
javax.servlet.ServletContext servletContext)
Return all unacknowledged alarms sorted by time for the given service.
|
static Alarm[] |
AlarmFactory.getAlarmsForService(int nodeId,
String ipAddress,
int serviceId,
SortStyle sortStyle,
AcknowledgeType ackType,
int throttle,
int offset,
javax.servlet.ServletContext servletContext)
Return some maximum number of alarms or less (optionally only
unacknowledged alarms) sorted by the given sort style for the given node,
IP address, and service ID.
|
static Alarm[] |
AlarmFactory.getAlarmsForSeverity(int severity)
Return all unacknowledged alarms sorted by time for the given severity.
|
static Alarm[] |
AlarmFactory.getAlarmsForSeverity(int severity,
SortStyle sortStyle,
AcknowledgeType ackType)
getAlarmsForSeverity
|
Alarm[] |
WebAlarmRepository.getMatchingAlarms(AlarmCriteria criteria)
Gets alarms matching a specific criteria.
|
Alarm[] |
JdbcWebAlarmRepository.getMatchingAlarms(AlarmCriteria criteria)
Deprecated.
Gets alarms matching a specific criteria.
|
Alarm[] |
DaoWebAlarmRepository.getMatchingAlarms(AlarmCriteria criteria)
Gets alarms matching a specific criteria.
|
protected static Alarm[] |
AlarmFactory.rs2Alarms(ResultSet rs)
Convenience method for translating a
java.sql.ResultSet
containing event information into an array of Alarm
objects. |
Modifier and Type | Method and Description |
---|---|
static void |
AlarmFactory.acknowledge(Alarm[] alarms,
String user)
Acknowledge a list of alarms with the given username and the current
time.
|
static void |
AlarmFactory.acknowledge(Alarm[] alarms,
String user,
Date time)
Acknowledge a list of alarms with the given username and the given time.
|
static void |
AlarmFactory.unacknowledge(Alarm[] alarms)
Unacknowledge a list of alarms.
|
Copyright © 2015. All Rights Reserved.