public class MockPathOutageDao extends AbstractMockDao<OnmsPathOutage,Integer> implements PathOutageDao
AbstractMockDao.NullEventForwarder
Constructor and Description |
---|
MockPathOutageDao() |
Modifier and Type | Method and Description |
---|---|
protected void |
generateId(OnmsPathOutage outage) |
List<String[]> |
getAllCriticalPaths() |
List<Integer> |
getAllNodesDependentOnAnyServiceOnInterface(InetAddress ipAddress) |
List<Integer> |
getAllNodesDependentOnAnyServiceOnNode(int nodeId) |
protected Integer |
getId(OnmsPathOutage outage) |
List<Integer> |
getNodesForPathOutage(InetAddress ipAddress,
String serviceName) |
List<Integer> |
getNodesForPathOutage(OnmsPathOutage pathOutage) |
afterPropertiesSet, clear, countAll, countMatching, countMatching, delete, delete, findAll, findMatching, findMatching, flush, get, getAlarmDao, getAssetRecordDao, getCategoryDao, getDistPollerDao, getEventDao, getIpInterfaceDao, getMonitoredServiceDao, getNodeDao, getServiceRegistry, getServiceTypeDao, getSnmpInterfaceDao, initialize, load, lock, save, saveOrUpdate, update
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clear, countAll, countMatching, delete, delete, findAll, findMatching, flush, get, initialize, load, lock, save, saveOrUpdate, update
protected void generateId(OnmsPathOutage outage)
generateId
in class AbstractMockDao<OnmsPathOutage,Integer>
protected Integer getId(OnmsPathOutage outage)
getId
in class AbstractMockDao<OnmsPathOutage,Integer>
public List<Integer> getNodesForPathOutage(InetAddress ipAddress, String serviceName)
getNodesForPathOutage
in interface PathOutageDao
public List<Integer> getNodesForPathOutage(OnmsPathOutage pathOutage)
getNodesForPathOutage
in interface PathOutageDao
public List<Integer> getAllNodesDependentOnAnyServiceOnInterface(InetAddress ipAddress)
getAllNodesDependentOnAnyServiceOnInterface
in interface PathOutageDao
public List<Integer> getAllNodesDependentOnAnyServiceOnNode(int nodeId)
getAllNodesDependentOnAnyServiceOnNode
in interface PathOutageDao
public List<String[]> getAllCriticalPaths()
getAllCriticalPaths
in interface PathOutageDao
Copyright © 2016. All rights reserved.