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