class NessusProductExecutor extends AbstractInfrastructureScanProductExecutor<NessusInstallSetup> {

	@Override
	protected List<InetAddress> resolveInetAdressForTarget(SecHubConfiguration config) {
		if (config==null) {
			return Collections.emptyList();
		}
		Optional<SecHubInfrastructureScanConfiguration> infraScan = config.getInfraScan();
		if (! infraScan.isPresent()) {
			return Collections.emptyList();
		}
		return infraScan.get().getIps();
	}

}