Package org.opennms.netmgt.provision
Interface DetectRequest
-
- All Superinterfaces:
PreDetectCallback
- All Known Implementing Classes:
DetectorRequestDTO
,DetectRequestImpl
public interface DetectRequest extends PreDetectCallback
Groups all of the parameters required for making calls toSyncServiceDetector.detect(org.opennms.netmgt.provision.DetectRequest)
andAsyncServiceDetector.detect(org.opennms.netmgt.provision.DetectRequest)
. The runtime attributes here differ from the properties and attributes that are configured on the detector i.e. port, ipMatch, etc... These are used to store additional attributes which pertain to the system's state and/or agent specific attributes i.e. the SNMP read community of the agent (which is not defined the the detector's configuration). These requests should be created by calls toServiceDetectorFactory.buildRequest(java.lang.String, java.net.InetAddress, java.lang.Integer, java.util.Map<java.lang.String, java.lang.String>)
.- Author:
- jwhite
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InetAddress
getAddress()
Map<String,String>
getRuntimeAttributes()
-
Methods inherited from interface org.opennms.netmgt.provision.PreDetectCallback
preDetect
-
-
-
-
Method Detail
-
getAddress
InetAddress getAddress()
- Returns:
- the address of the host against with the detector should be invoked.
-
-