Package | Description |
---|---|
org.opennms.web.outage |
Web UI outage model and utilities.
|
Modifier and Type | Method and Description |
---|---|
static Outage[] |
OutageModel.getCurrentOutagesForNode(int nodeId)
Deprecated.
getCurrentOutagesForNode
|
Outage[] |
DaoWebOutageRepository.getMatchingOutages(OutageCriteria criteria)
getMatchingOutages
|
Outage[] |
WebOutageRepository.getMatchingOutages(OutageCriteria criteria)
getMatchingOutages
|
Outage |
DaoWebOutageRepository.getOutage(int OutageId)
getOutage
|
Outage |
WebOutageRepository.getOutage(int OutageId)
getOutage
|
static Outage |
OutageFactory.getOutage(int outageId)
Deprecated.
getOutage
|
static Outage[] |
OutageFactory.getOutages()
Deprecated.
Return all unresolved outages sorted by the default sort style, outage
identifier.
|
static Outage[] |
OutageFactory.getOutages(SortStyle sortStyle)
Deprecated.
Return all unresolved outages sorted by the given sort style.
|
static Outage[] |
OutageFactory.getOutages(SortStyle sortStyle,
OutageType outType)
Deprecated.
Return all outages (optionally only unresolved outages) sorted by the
given sort style.
|
static Outage[] |
OutageFactory.getOutages(SortStyle sortStyle,
OutageType outType,
Filter[] filters)
Deprecated.
Return all outages (optionally only unresolved outages) sorted by the
given sort style.
|
static Outage[] |
OutageFactory.getOutages(SortStyle sortStyle,
OutageType outType,
Filter[] filters,
int limit,
int offset)
Deprecated.
Return all notices (optionally only unacknowledged notices) sorted by the
given sort style.
|
static Outage[] |
OutageFactory.getOutagesForInterface(int nodeId,
String ipAddress,
boolean includeResolved,
javax.servlet.ServletContext servletContext)
Deprecated.
Replaced by
" #getOutagesForInterface(int,String,SortStyle,OutageType) getOutagesForInterface(int,String,SortStyle,OutageType)"
|
static Outage[] |
OutageFactory.getOutagesForInterface(int nodeId,
String ipAddress,
javax.servlet.ServletContext servletContext)
Deprecated.
Return all unresolved notices for the given interface.
|
static Outage[] |
OutageFactory.getOutagesForInterface(int nodeId,
String ipAddress,
SortStyle sortStyle,
OutageType outType,
javax.servlet.ServletContext servletContext)
Deprecated.
Return all outages (optionally only unresolved outages) sorted by given
sort style for the given interface.
|
static Outage[] |
OutageFactory.getOutagesForInterface(String ipAddress)
Deprecated.
Return all unacknowledged notices sorted by time for that have the given
IP address, regardless of what node they belong to.
|
static Outage[] |
OutageFactory.getOutagesForInterface(String ipAddress,
boolean includeResolved)
Deprecated.
Replaced by
" #getOutagesForInterface(String,SortStyle,OutageType) getOutagesForInterface(String,SortStyle,OutageType)"
|
static Outage[] |
OutageFactory.getOutagesForInterface(String ipAddress,
SortStyle sortStyle,
OutageType outType)
Deprecated.
Return all outages (optionally only unresolved outages) sorted by given
sort style for the given IP address.
|
static Outage[] |
OutageFactory.getOutagesForNode(int nodeId,
javax.servlet.ServletContext servletContext)
Deprecated.
Return all current outages sorted by time for the given node.
|
static Outage[] |
OutageFactory.getOutagesForNode(int nodeId,
SortStyle sortStyle,
OutageType outType,
javax.servlet.ServletContext servletContext)
Deprecated.
Return all outages (optionally only unresolved outages) sorted by given
sort style for the given node.
|
static Outage[] |
OutageFactory.getOutagesForService(int serviceId,
boolean includeResolved,
javax.servlet.ServletContext servletContext)
Deprecated.
Replaced by
" #getOutagesForService(int,SortStyle,OutageType) getOutagesForInterface(int,SortStyle,OutageType)"
|
static Outage[] |
OutageFactory.getOutagesForService(int serviceId,
javax.servlet.ServletContext servletContext)
Deprecated.
Return all unresolved outages sorted by time for the given service type,
regardless of what node or interface they belong to.
|
static Outage[] |
OutageFactory.getOutagesForService(int serviceId,
SortStyle sortStyle,
OutageType outType,
javax.servlet.ServletContext servletContext)
Deprecated.
Return all outages (optionally only unresolved outages) sorted by given
sort style for the given service identifier.
|
static Outage[] |
OutageFactory.getOutagesForService(int nodeId,
String ipAddress,
int serviceId,
boolean includeResolved,
javax.servlet.ServletContext servletContext)
Deprecated.
Replaced by
" #getOutagesForService(int,String,int,SortStyle,OutageType) getOutagesForInterface(int,String,int,SortStyle,OutageType)"
|
static Outage[] |
OutageFactory.getOutagesForService(int nodeId,
String ipAddress,
int serviceId,
javax.servlet.ServletContext servletContext)
Deprecated.
Return all unresolved outages sorted by time for the given service.
|
static Outage[] |
OutageFactory.getOutagesForService(int nodeId,
String ipAddress,
int serviceId,
SortStyle sortStyle,
OutageType outType,
javax.servlet.ServletContext servletContext)
Deprecated.
Return all outages (optionally only unresolved outages) sorted by given
sort style for the given service.
|
protected static Outage[] |
OutageFactory.rs2Outages(ResultSet rs)
Deprecated.
Convenience method for translating a
java.sql.ResultSet
containing outage information into an array of Outage
objects. |
Modifier and Type | Method and Description |
---|---|
static String |
OutageUtil.getStatusColor(Outage outage)
Returns the color to use for an outage, if no color then it returns null.
|
static String |
OutageUtil.getStatusLabel(Outage outage)
Returns the icon to use for an outage, if no icon then it returns null.
|
Copyright © 2020. All rights reserved.