org.jclouds.karaf.utils.compute
Class ComputeHelper

java.lang.Object
  extended by org.jclouds.karaf.utils.compute.ComputeHelper

public class ComputeHelper
extends Object


Method Summary
static List<String> findCacheKeysForService(org.jclouds.compute.ComputeService computeService)
          Returns the cache keys for a given ComputeService.
static org.jclouds.compute.ComputeService getComputeService(String id, String providerOrApi, List<org.jclouds.compute.ComputeService> services)
          Chooses a ComputeService that matches the specified a service id or a provider / api.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

findCacheKeysForService

public static List<String> findCacheKeysForService(org.jclouds.compute.ComputeService computeService)
Returns the cache keys for a given ComputeService.

Parameters:
computeService -
Returns:

getComputeService

public static org.jclouds.compute.ComputeService getComputeService(String id,
                                                                   String providerOrApi,
                                                                   List<org.jclouds.compute.ComputeService> services)
Chooses a ComputeService that matches the specified a service id or a provider / api.

Parameters:
id -
providerOrApi -
services -
Returns:


Copyright © 2012. All Rights Reserved.