Class DetectResultsImpl
- java.lang.Object
-
- org.opennms.netmgt.provision.support.DetectResultsImpl
-
- All Implemented Interfaces:
DetectResults
public class DetectResultsImpl extends Object implements DetectResults
-
-
Constructor Summary
Constructors Constructor Description DetectResultsImpl(boolean detected)
DetectResultsImpl(boolean detected, Map<String,String> metaData)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,String>
getServiceAttributes()
boolean
isServiceDetected()
-
-
-
Method Detail
-
isServiceDetected
public boolean isServiceDetected()
- Specified by:
isServiceDetected
in interfaceDetectResults
- Returns:
- true if the service was detected, false otherwise
-
getServiceAttributes
public Map<String,String> getServiceAttributes()
- Specified by:
getServiceAttributes
in interfaceDetectResults
- Returns:
- additional attributes from the detector invocation
-
-