public Map getCustomizationSpecs()

in cloud-vmware-server/src/main/java/jetbrains/buildServer/clouds/vmware/connector/VMWareApiConnectorImpl.java [547:563]


  public Map<String, String> getCustomizationSpecs() {
    final Map<String,String> retval = new HashMap<>();
    try {
      final CustomizationSpecManager specManager = myServiceInstance.getCustomizationSpecManager();
      if (specManager == null)
        return retval;
      final CustomizationSpecInfo[] specs = specManager.getInfo();
      if (specs != null) {
        for (CustomizationSpecInfo spec : specs) {
          retval.put(spec.getName(), spec.getType());
        }
      }
    } catch (Exception ex){
      LOG.warnAndDebugDetails("Can't get customization specs", ex);
    }
    return retval;
  }