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