Uses of Class
org.opennms.netmgt.model.OnmsOutage
-
Packages that use OnmsOutage 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 -
-
Uses of OnmsOutage in org.opennms.netmgt.dao.api
Methods in org.opennms.netmgt.dao.api that return OnmsOutage Modifier and Type Method 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)
Methods in org.opennms.netmgt.dao.api that return types with arguments of type OnmsOutage Modifier and Type Method Description Collection<OnmsOutage>
OutageDao. currentOutages()
currentOutagesCollection<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)
findAllCollection<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. -
Uses of OnmsOutage in org.opennms.netmgt.dao.hibernate
Methods in org.opennms.netmgt.dao.hibernate that return OnmsOutage Modifier and Type Method Description OnmsOutage
OutageDaoHibernate. currentOutageForService(OnmsMonitoredService service)
OnmsOutage
OutageDaoHibernate. currentOutageForServiceFromPerspective(OnmsMonitoredService service, OnmsMonitoringLocation perspective)
Methods in org.opennms.netmgt.dao.hibernate that return types with arguments of type OnmsOutage Modifier and Type Method Description Collection<OnmsOutage>
OutageDaoHibernate. currentOutages()
currentOutagesCollection<OnmsOutage>
OutageDaoHibernate. currentOutagesForServiceFromPerspectivePoller(OnmsMonitoredService service)
Collection<OnmsOutage>
OutageDaoHibernate. findAll(Integer offset, Integer limit)
findAllCollection<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. -
Uses of OnmsOutage in org.opennms.netmgt.dao.mock
Methods in org.opennms.netmgt.dao.mock that return OnmsOutage Modifier and Type Method Description OnmsOutage
MockOutageDao. currentOutageForService(OnmsMonitoredService service)
OnmsOutage
MockOutageDao. currentOutageForServiceFromPerspective(OnmsMonitoredService service, OnmsMonitoringLocation perspective)
Methods in org.opennms.netmgt.dao.mock that return types with arguments of type OnmsOutage Modifier and Type Method 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)
Methods in org.opennms.netmgt.dao.mock with parameters of type OnmsOutage Modifier and Type Method 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 ofOnmsMonitoredService
. -
Uses of OnmsOutage in org.opennms.netmgt.dao.support
Method parameters in org.opennms.netmgt.dao.support with type arguments of type OnmsOutage Modifier and Type Method 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)
-
Uses of OnmsOutage in org.opennms.netmgt.model
Methods in org.opennms.netmgt.model that return types with arguments of type OnmsOutage Modifier and Type Method Description Set<OnmsOutage>
OnmsEvent. getAssociatedServiceLostOutages()
getAssociatedServiceLostOutagesSet<OnmsOutage>
OnmsEvent. getAssociatedServiceRegainedOutages()
getAssociatedServiceRegainedOutagesSet<OnmsOutage>
OnmsMonitoredService. getCurrentOutages()
getCurrentOutagesList<OnmsOutage>
OnmsOutageCollection. getObjects()
Method parameters in org.opennms.netmgt.model with type arguments of type OnmsOutage Modifier and Type Method Description void
OnmsEvent. setAssociatedServiceLostOutages(Set<OnmsOutage> outagesBySvclosteventid)
setAssociatedServiceLostOutagesvoid
OnmsEvent. setAssociatedServiceRegainedOutages(Set<OnmsOutage> outagesBySvcregainedeventid)
setAssociatedServiceRegainedOutagesvoid
OnmsMonitoredService. setCurrentOutages(Set<OnmsOutage> currentOutages)
setCurrentOutagesConstructor parameters in org.opennms.netmgt.model with type arguments of type OnmsOutage Constructor Description OnmsOutageCollection(Collection<? extends OnmsOutage> outages)
-
Uses of OnmsOutage in org.opennms.web.element
Methods in org.opennms.web.element that return types with arguments of type OnmsOutage Modifier and Type Method Description Collection<OnmsOutage>
NetworkElementFactory. currentOutagesForServiceFromPerspectivePoller(OnmsMonitoredService service)
Collection<OnmsOutage>
NetworkElementFactoryInterface. currentOutagesForServiceFromPerspectivePoller(OnmsMonitoredService service)
Return all current open outages for the given service be it detected from local or from perspective. -
Uses of OnmsOutage in org.opennms.web.rest.v2
Methods in org.opennms.web.rest.v2 that return OnmsOutage Modifier and Type Method Description protected OnmsOutage
OutageRestService. doGet(javax.ws.rs.core.UriInfo uriInfo, Integer id)
Methods in org.opennms.web.rest.v2 that return types with arguments of type OnmsOutage Modifier and Type Method Description protected JaxbListWrapper<OnmsOutage>
OutageRestService. createListWrapper(Collection<OnmsOutage> list)
protected Class<OnmsOutage>
OutageRestService. getDaoClass()
Method parameters in org.opennms.web.rest.v2 with type arguments of type OnmsOutage Modifier and Type Method Description protected JaxbListWrapper<OnmsOutage>
OutageRestService. createListWrapper(Collection<OnmsOutage> list)
-
Uses of OnmsOutage in org.opennms.web.services
Methods in org.opennms.web.services that return types with arguments of type OnmsOutage Modifier and Type Method Description Optional<OnmsOutage>
ServiceJspUtil. getOutageForPerspective(OnmsMonitoringLocation onmsMonitoringLocation)
Methods in org.opennms.web.services with parameters of type OnmsOutage Modifier and Type Method Description String
ServiceJspUtil. getOutageUrl(OnmsOutage outage)
Constructor parameters in org.opennms.web.services with type arguments of type OnmsOutage Constructor Description ServiceJspUtil(OnmsMonitoredService service, Collection<OnmsOutage> currentOutages)
-