Class DetectRequestImpl
- java.lang.Object
-
- org.opennms.netmgt.provision.support.DetectRequestImpl
-
- All Implemented Interfaces:
DetectRequest
,PreDetectCallback
public class DetectRequestImpl extends Object implements DetectRequest
-
-
Constructor Summary
Constructors Constructor Description DetectRequestImpl(InetAddress address, Integer port)
DetectRequestImpl(InetAddress address, Integer port, Map<String,String> runtimeAttributes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InetAddress
getAddress()
Integer
getPort()
Map<String,String>
getRuntimeAttributes()
void
preDetect()
-
-
-
Constructor Detail
-
DetectRequestImpl
public DetectRequestImpl(InetAddress address, Integer port)
-
DetectRequestImpl
public DetectRequestImpl(InetAddress address, Integer port, Map<String,String> runtimeAttributes)
-
-
Method Detail
-
getAddress
public InetAddress getAddress()
- Specified by:
getAddress
in interfaceDetectRequest
- Returns:
- the address of the host against with the detector should be invoked.
-
getPort
public Integer getPort()
-
getRuntimeAttributes
public Map<String,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
-
-