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()booleanisServiceDetected()
-
-
-
Method Detail
-
isServiceDetected
public boolean isServiceDetected()
- Specified by:
isServiceDetectedin interfaceDetectResults- Returns:
- true if the service was detected, false otherwise
-
getServiceAttributes
public Map<String,String> getServiceAttributes()
- Specified by:
getServiceAttributesin interfaceDetectResults- Returns:
- additional attributes from the detector invocation
-
-