/** * This method check server type VC or ESX. getVMDFile is applicable only on ESX and not for VC * return: boolean value true for ESX */ private static boolean checkApiType(ServiceContent sc) { boolean isVC = false; if (!sc.getAbout().getApiType().equalsIgnoreCase("VirtualCenter")) { isVC = true; } return isVC; }