Class DetectResultsImpl

    • Constructor Summary

      Constructors 
      Constructor Description
      DetectResultsImpl​(boolean detected)  
      DetectResultsImpl​(boolean detected, java.util.Map<java.lang.String,​java.lang.String> metaData)  
    • Constructor Detail

      • DetectResultsImpl

        public DetectResultsImpl​(boolean detected)
      • DetectResultsImpl

        public DetectResultsImpl​(boolean detected,
                                 java.util.Map<java.lang.String,​java.lang.String> metaData)
    • Method Detail

      • isServiceDetected

        public boolean isServiceDetected()
        Specified by:
        isServiceDetected in interface DetectResults
        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 interface DetectResults
        Returns:
        additional attributes from the detector invocation