Package org.opennms.netmgt.discovery
Class DiscoveryJob
- java.lang.Object
-
- org.opennms.netmgt.discovery.DiscoveryJob
-
public class DiscoveryJob extends Object
-
-
Constructor Summary
Constructors Constructor Description DiscoveryJob(List<IPPollRange> ranges, String foreignSource, String location, double packetsPerSecond, DiscoveryConfiguration config)
Construct aDiscoveryJob
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object other)
Iterable<IPPollAddress>
getAddresses()
DiscoveryConfiguration
getConfig()
String
getForeignSource()
String
getLocation()
double
getPacketsPerSecond()
List<IPPollRange>
getRanges()
int
hashCode()
String
toString()
-
-
-
Constructor Detail
-
DiscoveryJob
public DiscoveryJob(List<IPPollRange> ranges, String foreignSource, String location, double packetsPerSecond, DiscoveryConfiguration config)
Construct aDiscoveryJob
. All ranges must have the same foreignSource and location for the message to be routed correctly.- Parameters:
ranges
-foreignSource
-location
-packetsPerSecond
-config
-
-
-
Method Detail
-
getRanges
public List<IPPollRange> getRanges()
-
getAddresses
public Iterable<IPPollAddress> getAddresses()
-
getForeignSource
public String getForeignSource()
-
getLocation
public String getLocation()
-
getPacketsPerSecond
public double getPacketsPerSecond()
-
getConfig
public DiscoveryConfiguration getConfig()
-
-