Class DetectorResponseDTO

    • Constructor Detail

      • DetectorResponseDTO

        public DetectorResponseDTO()
      • DetectorResponseDTO

        public DetectorResponseDTO​(DetectResults results)
      • DetectorResponseDTO

        public DetectorResponseDTO​(Throwable t)
    • Method Detail

      • isDetected

        public boolean isDetected()
      • setDetected

        public void setDetected​(boolean detected)
      • addAttribute

        public void addAttribute​(String key,
                                 String value)
      • addAttributes

        public void addAttributes​(Map<String,​String> attributes)
      • isServiceDetected

        public boolean isServiceDetected()
        Specified by:
        isServiceDetected in interface DetectResults
        Returns:
        true if the service was detected, false otherwise
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • getErrorMessage

        public String getErrorMessage()
        Description copied from interface: RpcResponse
        Returns an error message if an error occurred, or null otherwise.
        Specified by:
        getErrorMessage in interface RpcResponse
        Returns:
        an error message if an error occurred, or null otherwise