@Override public Map<String, String> getRuntimeAttributes() { return request.getRuntimeAttributes(); } };
@Override public WmiAgentConfig getAgentConfig(DetectRequest request) { if (request.getRuntimeAttributes() != null) { // All of the keys in the runtime attribute map are used to store the agent configuration return WmiAgentConfig.fromMap(request.getRuntimeAttributes()); } else { return new WmiAgentConfig(); } }
@Override public SnmpAgentConfig getAgentConfig(DetectRequest request) { if (request.getRuntimeAttributes() != null) { // All of the keys in the runtime attribute map are used to store the agent configuration return SnmpAgentConfig.fromMap(request.getRuntimeAttributes()); } else { return new SnmpAgentConfig(); } }
@Override public WmiAgentConfig getAgentConfig(DetectRequest request) { if (request.getRuntimeAttributes() != null) { // All of the keys in the runtime attribute map are used to store the agent configuration return WmiAgentConfig.fromMap(request.getRuntimeAttributes()); } else { return new WmiAgentConfig(); } }
@Override public DetectResults detect(DetectRequest request) { try { final WSManEndpoint endpoint = WsmanEndpointUtils.fromMap(request.getRuntimeAttributes()); return isServiceDetected(request.getAddress(), endpoint); } catch (MalformedURLException e) { throw new RuntimeException(e); } }
@Override public DetectResults detect(DetectRequest request) { try { final WSManEndpoint endpoint = WsmanEndpointUtils.fromMap(request.getRuntimeAttributes()); return isServiceDetected(request.getAddress(), endpoint); } catch (MalformedURLException e) { throw new RuntimeException(e); } }
@Override public DetectResults detect(DetectRequest request) { try { final WSManEndpoint endpoint = WsmanEndpointUtils.fromMap(request.getRuntimeAttributes()); return isServiceDetected(request.getAddress(), endpoint); } catch (MalformedURLException e) { throw new RuntimeException(e); } }
@Override public DetectResults detect(DetectRequest request) { try { final WSManEndpoint endpoint = WsmanEndpointUtils.fromMap(request.getRuntimeAttributes()); return isServiceDetected(request.getAddress(), endpoint); } catch (MalformedURLException e) { throw new RuntimeException(e); } }
@Override public DetectResults detect(DetectRequest request) { return new DetectResultsImpl(isServiceDetected(request.getAddress(), request.getRuntimeAttributes())); }
detectorRequestDTO.addRuntimeAttributes(request.getRuntimeAttributes());