Package org.opennms.netmgt.config.api
Interface DiscoveryConfigurationFactory
-
- All Known Implementing Classes:
DiscoveryConfigFactory
public interface DiscoveryConfigurationFactoryAn interface for DiscoveryConfigFactory- Author:
- Ryan Lambeth
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DiscoveryConfigurationgetConfiguration()Iterable<IPPollAddress>getConfiguredAddresses()getConfiguredAddressesIterator<IPPollAddress>getExcludingIterator(Iterator<IPPollAddress> it)getExcludingInteratorStringgetForeignSource(InetAddress address)getForeignSourcelonggetInitialSleepTime()getInitialSleepTimelonggetIntraPacketDelay()getIntraPacketDelayList<Detector>getListOfDetectors(InetAddress inetAddress, String location)doublegetPacketsPerSecond()getPacketsPerSecondList<IPPollRange>getRanges()getRangelonggetRestartSleepTime()getRestartSleepTimeList<IPPollAddress>getSpecifics()getSpecificsList<IPPollAddress>getURLSpecifics()getURLSpecificsbooleanisExcluded(InetAddress address, String location)isExcluded
-
-
-
Method Detail
-
getConfiguration
DiscoveryConfiguration getConfiguration()
-
getURLSpecifics
List<IPPollAddress> getURLSpecifics()
getURLSpecifics
- Returns:
- a List
-
getRanges
List<IPPollRange> getRanges()
getRange
- Returns:
- a List
-
getSpecifics
List<IPPollAddress> getSpecifics()
getSpecifics
- Returns:
- a List
-
isExcluded
boolean isExcluded(InetAddress address, String location)
isExcluded
- Parameters:
address-location- a String- Returns:
- a boolean
-
getForeignSource
String getForeignSource(InetAddress address)
getForeignSource
- Parameters:
address- InetAddress- Returns:
- a String
-
getIntraPacketDelay
long getIntraPacketDelay()
getIntraPacketDelay
- Returns:
- a long
-
getPacketsPerSecond
double getPacketsPerSecond()
getPacketsPerSecond
- Returns:
- a double
-
getExcludingIterator
Iterator<IPPollAddress> getExcludingIterator(Iterator<IPPollAddress> it)
getExcludingInterator
- Parameters:
an- Iterator- Returns:
- an Iterator
-
getConfiguredAddresses
Iterable<IPPollAddress> getConfiguredAddresses()
getConfiguredAddresses
- Returns:
- an Iterable
-
getListOfDetectors
List<Detector> getListOfDetectors(InetAddress inetAddress, String location)
-
getRestartSleepTime
long getRestartSleepTime()
getRestartSleepTime
- Returns:
- a long
-
getInitialSleepTime
long getInitialSleepTime()
getInitialSleepTime
- Returns:
- a long
-
-