org.jclouds.servermanager.compute.strategy
Class ServerManagerComputeServiceAdapter

java.lang.Object
  extended by org.jclouds.servermanager.compute.strategy.ServerManagerComputeServiceAdapter
All Implemented Interfaces:
org.jclouds.compute.ComputeServiceAdapter<Server,Hardware,Image,Datacenter>

@Singleton
public class ServerManagerComputeServiceAdapter
extends Object
implements org.jclouds.compute.ComputeServiceAdapter<Server,Hardware,Image,Datacenter>

defines the connection between the ServerManager implementation and the jclouds ComputeService


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jclouds.compute.ComputeServiceAdapter
org.jclouds.compute.ComputeServiceAdapter.NodeAndInitialCredentials<N>
 
Constructor Summary
ServerManagerComputeServiceAdapter(ServerManager client)
           
 
Method Summary
 org.jclouds.compute.ComputeServiceAdapter.NodeAndInitialCredentials<Server> createNodeWithGroupEncodedIntoName(String tag, String name, org.jclouds.compute.domain.Template template)
           
 void destroyNode(String id)
           
 Image getImage(String id)
           
 Server getNode(String id)
           
 Iterable<Hardware> listHardwareProfiles()
           
 Iterable<Image> listImages()
           
 Iterable<Datacenter> listLocations()
           
 Iterable<Server> listNodes()
           
 void rebootNode(String id)
           
 void resumeNode(String id)
           
 void suspendNode(String id)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServerManagerComputeServiceAdapter

@Inject
public ServerManagerComputeServiceAdapter(ServerManager client)
Method Detail

createNodeWithGroupEncodedIntoName

public org.jclouds.compute.ComputeServiceAdapter.NodeAndInitialCredentials<Server> createNodeWithGroupEncodedIntoName(String tag,
                                                                                                                      String name,
                                                                                                                      org.jclouds.compute.domain.Template template)
Specified by:
createNodeWithGroupEncodedIntoName in interface org.jclouds.compute.ComputeServiceAdapter<Server,Hardware,Image,Datacenter>

listHardwareProfiles

public Iterable<Hardware> listHardwareProfiles()
Specified by:
listHardwareProfiles in interface org.jclouds.compute.ComputeServiceAdapter<Server,Hardware,Image,Datacenter>

listImages

public Iterable<Image> listImages()
Specified by:
listImages in interface org.jclouds.compute.ComputeServiceAdapter<Server,Hardware,Image,Datacenter>

getImage

public Image getImage(String id)
Specified by:
getImage in interface org.jclouds.compute.ComputeServiceAdapter<Server,Hardware,Image,Datacenter>

listNodes

public Iterable<Server> listNodes()
Specified by:
listNodes in interface org.jclouds.compute.ComputeServiceAdapter<Server,Hardware,Image,Datacenter>

listLocations

public Iterable<Datacenter> listLocations()
Specified by:
listLocations in interface org.jclouds.compute.ComputeServiceAdapter<Server,Hardware,Image,Datacenter>

getNode

public Server getNode(String id)
Specified by:
getNode in interface org.jclouds.compute.ComputeServiceAdapter<Server,Hardware,Image,Datacenter>

destroyNode

public void destroyNode(String id)
Specified by:
destroyNode in interface org.jclouds.compute.ComputeServiceAdapter<Server,Hardware,Image,Datacenter>

rebootNode

public void rebootNode(String id)
Specified by:
rebootNode in interface org.jclouds.compute.ComputeServiceAdapter<Server,Hardware,Image,Datacenter>

resumeNode

public void resumeNode(String id)
Specified by:
resumeNode in interface org.jclouds.compute.ComputeServiceAdapter<Server,Hardware,Image,Datacenter>

suspendNode

public void suspendNode(String id)
Specified by:
suspendNode in interface org.jclouds.compute.ComputeServiceAdapter<Server,Hardware,Image,Datacenter>


Copyright © 2009-2012 jclouds. All Rights Reserved.