org.jclouds.servermanager.compute.strategy
Class ServerManagerComputeServiceAdapter
java.lang.Object
org.jclouds.servermanager.compute.strategy.ServerManagerComputeServiceAdapter
- All Implemented Interfaces:
- ComputeServiceAdapter<Server,Hardware,Image,Datacenter>
@Singleton
public class ServerManagerComputeServiceAdapter
- extends Object
- implements ComputeServiceAdapter<Server,Hardware,Image,Datacenter>
defines the connection between the ServerManager implementation and the jclouds
ComputeService
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServerManagerComputeServiceAdapter
@Inject
public ServerManagerComputeServiceAdapter(ServerManager client)
createNodeWithGroupEncodedIntoNameThenStoreCredentials
public Server createNodeWithGroupEncodedIntoNameThenStoreCredentials(String tag,
String name,
Template template,
Map<String,Credentials> credentialStore)
- Specified by:
createNodeWithGroupEncodedIntoNameThenStoreCredentials in interface ComputeServiceAdapter<Server,Hardware,Image,Datacenter>
listHardwareProfiles
public Iterable<Hardware> listHardwareProfiles()
- Specified by:
listHardwareProfiles in interface ComputeServiceAdapter<Server,Hardware,Image,Datacenter>
listImages
public Iterable<Image> listImages()
- Specified by:
listImages in interface ComputeServiceAdapter<Server,Hardware,Image,Datacenter>
listNodes
public Iterable<Server> listNodes()
- Specified by:
listNodes in interface ComputeServiceAdapter<Server,Hardware,Image,Datacenter>
listLocations
public Iterable<Datacenter> listLocations()
- Specified by:
listLocations in interface ComputeServiceAdapter<Server,Hardware,Image,Datacenter>
getNode
public Server getNode(String id)
- Specified by:
getNode in interface ComputeServiceAdapter<Server,Hardware,Image,Datacenter>
destroyNode
public void destroyNode(String id)
- Specified by:
destroyNode in interface ComputeServiceAdapter<Server,Hardware,Image,Datacenter>
rebootNode
public void rebootNode(String id)
- Specified by:
rebootNode in interface ComputeServiceAdapter<Server,Hardware,Image,Datacenter>
resumeNode
public void resumeNode(String id)
- Specified by:
resumeNode in interface ComputeServiceAdapter<Server,Hardware,Image,Datacenter>
suspendNode
public void suspendNode(String id)
- Specified by:
suspendNode in interface ComputeServiceAdapter<Server,Hardware,Image,Datacenter>
Copyright © 2009-2011 jclouds. All Rights Reserved.