Package | Description |
---|---|
org.opennms.netmgt.dao.api | |
org.opennms.netmgt.dao.hibernate | |
org.opennms.netmgt.dao.mock | |
org.opennms.netmgt.dao.support | |
org.opennms.netmgt.model |
This file is part of OpenNMS(R).
|
org.opennms.web.element | |
org.opennms.web.rest.v2 | |
org.opennms.web.services |
Modifier and Type | Method and Description |
---|---|
OnmsOutage |
OutageDao.currentOutageForService(OnmsMonitoredService service)
Return the current open outage for the service or if the service
is up and has no open outage, return null.
|
OnmsOutage |
OutageDao.currentOutageForServiceFromPerspective(OnmsMonitoredService service,
OnmsMonitoringLocation perspective) |
Modifier and Type | Method and Description |
---|---|
Collection<OnmsOutage> |
OutageDao.currentOutages()
currentOutages
|
Collection<OnmsOutage> |
OutageDao.currentOutagesForServiceFromPerspectivePoller(OnmsMonitoredService service)
Return all current open outages for the given service be it detected from Perspective Poller.
|
Collection<OnmsOutage> |
OutageDao.findAll(Integer offset,
Integer limit)
findAll
|
Collection<OnmsOutage> |
OutageDao.getStatusChangesForApplicationIdBetween(Date startDate,
Date endDate,
Integer applicationId) |
Collection<OnmsOutage> |
OutageDao.matchingCurrentOutages(ServiceSelector selector)
Finds all current (unresolved) outages that match the given service selector.
|
Modifier and Type | Method and Description |
---|---|
OnmsOutage |
OutageDaoHibernate.currentOutageForService(OnmsMonitoredService service) |
OnmsOutage |
OutageDaoHibernate.currentOutageForServiceFromPerspective(OnmsMonitoredService service,
OnmsMonitoringLocation perspective) |
Modifier and Type | Method and Description |
---|---|
Collection<OnmsOutage> |
OutageDaoHibernate.currentOutages()
currentOutages
|
Collection<OnmsOutage> |
OutageDaoHibernate.currentOutagesForServiceFromPerspectivePoller(OnmsMonitoredService service) |
Collection<OnmsOutage> |
OutageDaoHibernate.findAll(Integer offset,
Integer limit)
findAll
|
Collection<OnmsOutage> |
OutageDaoHibernate.getStatusChangesForApplicationIdBetween(Date startDate,
Date endDate,
Integer applicationId) |
Collection<OnmsOutage> |
OutageDaoHibernate.matchingCurrentOutages(ServiceSelector selector)
Finds all current (unresolved) outages that match the given service selector.
|
Modifier and Type | Method and Description |
---|---|
OnmsOutage |
MockOutageDao.currentOutageForService(OnmsMonitoredService service) |
OnmsOutage |
MockOutageDao.currentOutageForServiceFromPerspective(OnmsMonitoredService service,
OnmsMonitoringLocation perspective) |
Modifier and Type | Method and Description |
---|---|
Collection<OnmsOutage> |
MockOutageDao.currentOutages() |
Collection<OnmsOutage> |
MockOutageDao.currentOutagesForServiceFromPerspectivePoller(OnmsMonitoredService service) |
Collection<OnmsOutage> |
MockOutageDao.findAll(Integer offset,
Integer limit) |
Collection<OnmsOutage> |
MockOutageDao.getStatusChangesForApplicationIdBetween(Date startDate,
Date endDate,
Integer applicationId) |
Collection<OnmsOutage> |
MockOutageDao.matchingCurrentOutages(ServiceSelector selector) |
Modifier and Type | Method and Description |
---|---|
protected void |
MockOutageDao.generateId(OnmsOutage outage) |
protected Integer |
MockOutageDao.getId(OnmsOutage outage) |
Integer |
MockOutageDao.save(OnmsOutage entity)
When we save an outage, make sure to add the outage to the currentOutages
property of
OnmsMonitoredService . |
Modifier and Type | Method and Description |
---|---|
static ApplicationServiceStatus |
ApplicationStatusUtil.buildApplicationServiceStatus(MonitoredServiceDao monitoredServiceDao,
OnmsApplication onmsApplication,
Integer monitoredServiceId,
Collection<OnmsOutage> onmsOutages,
long start,
long end) |
static ApplicationStatus |
ApplicationStatusUtil.buildApplicationStatus(OnmsApplication onmsApplication,
Collection<OnmsOutage> onmsOutages,
long start,
long end) |
Modifier and Type | Method and Description |
---|---|
Set<OnmsOutage> |
OnmsEvent.getAssociatedServiceLostOutages()
getAssociatedServiceLostOutages
|
Set<OnmsOutage> |
OnmsEvent.getAssociatedServiceRegainedOutages()
getAssociatedServiceRegainedOutages
|
Set<OnmsOutage> |
OnmsMonitoredService.getCurrentOutages()
getCurrentOutages
|
List<OnmsOutage> |
OnmsOutageCollection.getObjects() |
Modifier and Type | Method and Description |
---|---|
void |
OnmsEvent.setAssociatedServiceLostOutages(Set<OnmsOutage> outagesBySvclosteventid)
setAssociatedServiceLostOutages
|
void |
OnmsEvent.setAssociatedServiceRegainedOutages(Set<OnmsOutage> outagesBySvcregainedeventid)
setAssociatedServiceRegainedOutages
|
void |
OnmsMonitoredService.setCurrentOutages(Set<OnmsOutage> currentOutages)
setCurrentOutages
|
Constructor and Description |
---|
OnmsOutageCollection(Collection<? extends OnmsOutage> outages) |
Modifier and Type | Method and Description |
---|---|
Collection<OnmsOutage> |
NetworkElementFactoryInterface.currentOutagesForServiceFromPerspectivePoller(OnmsMonitoredService service)
Return all current open outages for the given service be it detected from local or from perspective.
|
Collection<OnmsOutage> |
NetworkElementFactory.currentOutagesForServiceFromPerspectivePoller(OnmsMonitoredService service) |
Modifier and Type | Method and Description |
---|---|
protected OnmsOutage |
OutageRestService.doGet(javax.ws.rs.core.UriInfo uriInfo,
Integer id) |
Modifier and Type | Method and Description |
---|---|
protected JaxbListWrapper<OnmsOutage> |
OutageRestService.createListWrapper(Collection<OnmsOutage> list) |
protected Class<OnmsOutage> |
OutageRestService.getDaoClass() |
Modifier and Type | Method and Description |
---|---|
protected JaxbListWrapper<OnmsOutage> |
OutageRestService.createListWrapper(Collection<OnmsOutage> list) |
Modifier and Type | Method and Description |
---|---|
Optional<OnmsOutage> |
ServiceJspUtil.getOutageForPerspective(OnmsMonitoringLocation onmsMonitoringLocation) |
Modifier and Type | Method and Description |
---|---|
String |
ServiceJspUtil.getOutageUrl(OnmsOutage outage) |
Constructor and Description |
---|
ServiceJspUtil(OnmsMonitoredService service,
Collection<OnmsOutage> currentOutages) |
Copyright © 2021. All rights reserved.