Class DetectRequestImpl
- java.lang.Object
-
- org.opennms.netmgt.provision.support.DetectRequestImpl
-
- All Implemented Interfaces:
DetectRequest
,PreDetectCallback
public class DetectRequestImpl extends java.lang.Object implements DetectRequest
-
-
Constructor Summary
Constructors Constructor Description DetectRequestImpl(java.net.InetAddress address, java.lang.Integer port)
DetectRequestImpl(java.net.InetAddress address, java.lang.Integer port, java.util.Map<java.lang.String,java.lang.String> runtimeAttributes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.net.InetAddress
getAddress()
java.lang.Integer
getPort()
java.util.Map<java.lang.String,java.lang.String>
getRuntimeAttributes()
void
preDetect()
-
-
-
Method Detail
-
getAddress
public java.net.InetAddress getAddress()
- Specified by:
getAddress
in interfaceDetectRequest
- Returns:
- the address of the host against with the detector should be invoked.
-
getPort
public java.lang.Integer getPort()
-
getRuntimeAttributes
public java.util.Map<java.lang.String,java.lang.String> getRuntimeAttributes()
- Specified by:
getRuntimeAttributes
in interfaceDetectRequest
- Returns:
- additional attributes stored outside of the detector's configuration that may be required when running the detector.
-
preDetect
public void preDetect()
- Specified by:
preDetect
in interfacePreDetectCallback
-
-