Package org.springframework.roo.addon.cloud.providers

Examples of org.springframework.roo.addon.cloud.providers.CloudProviderId


  /**
   * This method gets providerId using name
   */
  @Override
  public CloudProviderId getProviderIdByName(String name) {
    CloudProviderId provider = null;
    for (CloudProvider tmpProvider : providers) {
      if (tmpProvider.getName().equals(name)) {
        provider = new CloudProviderId(tmpProvider);
      }
    }
    return provider;
  }
View Full Code Here


  @Override
  public List<CloudProviderId> getProvidersId() {
    if (providersId == null) {
      providersId = new ArrayList<CloudProviderId>();
      for (CloudProvider tmpProvider : providers) {
        providersId.add(new CloudProviderId(tmpProvider));
      }
      providersId = Collections.unmodifiableList(providersId);
    }
    return providersId;
  }
View Full Code Here

TOP

Related Classes of org.springframework.roo.addon.cloud.providers.CloudProviderId

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.