org.jclouds.smartos.compute.strategy
Class SmartOSComputeServiceAdapter

java.lang.Object
  extended by org.jclouds.smartos.compute.strategy.SmartOSComputeServiceAdapter
All Implemented Interfaces:
org.jclouds.compute.ComputeServiceAdapter<VM,VmSpecification,DataSet,SmartOSHostController>

@Singleton
public class SmartOSComputeServiceAdapter
extends Object
implements org.jclouds.compute.ComputeServiceAdapter<VM,VmSpecification,DataSet,SmartOSHostController>

defines the connection between the org.jclouds.smartos.compute.domain.SmartOSHostController 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
SmartOSComputeServiceAdapter(SmartOSHostController host)
           
 
Method Summary
 org.jclouds.compute.ComputeServiceAdapter.NodeAndInitialCredentials<VM> createNodeWithGroupEncodedIntoName(String tag, String name, org.jclouds.compute.domain.Template template)
           
 void destroyNode(String id)
           
 DataSet getImage(String id)
           
 VM getNode(String id)
           
 Iterable<VmSpecification> listHardwareProfiles()
           
 Iterable<DataSet> listImages()
           
 Iterable<SmartOSHostController> listLocations()
           
 Iterable<VM> 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

SmartOSComputeServiceAdapter

@Inject
public SmartOSComputeServiceAdapter(SmartOSHostController host)
Method Detail

createNodeWithGroupEncodedIntoName

public org.jclouds.compute.ComputeServiceAdapter.NodeAndInitialCredentials<VM> createNodeWithGroupEncodedIntoName(String tag,
                                                                                                                  String name,
                                                                                                                  org.jclouds.compute.domain.Template template)
Specified by:
createNodeWithGroupEncodedIntoName in interface org.jclouds.compute.ComputeServiceAdapter<VM,VmSpecification,DataSet,SmartOSHostController>

listHardwareProfiles

public Iterable<VmSpecification> listHardwareProfiles()
Specified by:
listHardwareProfiles in interface org.jclouds.compute.ComputeServiceAdapter<VM,VmSpecification,DataSet,SmartOSHostController>

listImages

public Iterable<DataSet> listImages()
Specified by:
listImages in interface org.jclouds.compute.ComputeServiceAdapter<VM,VmSpecification,DataSet,SmartOSHostController>

getImage

public DataSet getImage(String id)
Specified by:
getImage in interface org.jclouds.compute.ComputeServiceAdapter<VM,VmSpecification,DataSet,SmartOSHostController>

listNodes

public Iterable<VM> listNodes()
Specified by:
listNodes in interface org.jclouds.compute.ComputeServiceAdapter<VM,VmSpecification,DataSet,SmartOSHostController>

listLocations

public Iterable<SmartOSHostController> listLocations()
Specified by:
listLocations in interface org.jclouds.compute.ComputeServiceAdapter<VM,VmSpecification,DataSet,SmartOSHostController>

getNode

public VM getNode(String id)
Specified by:
getNode in interface org.jclouds.compute.ComputeServiceAdapter<VM,VmSpecification,DataSet,SmartOSHostController>

destroyNode

public void destroyNode(String id)
Specified by:
destroyNode in interface org.jclouds.compute.ComputeServiceAdapter<VM,VmSpecification,DataSet,SmartOSHostController>

rebootNode

public void rebootNode(String id)
Specified by:
rebootNode in interface org.jclouds.compute.ComputeServiceAdapter<VM,VmSpecification,DataSet,SmartOSHostController>

resumeNode

public void resumeNode(String id)
Specified by:
resumeNode in interface org.jclouds.compute.ComputeServiceAdapter<VM,VmSpecification,DataSet,SmartOSHostController>

suspendNode

public void suspendNode(String id)
Specified by:
suspendNode in interface org.jclouds.compute.ComputeServiceAdapter<VM,VmSpecification,DataSet,SmartOSHostController>


Copyright © 2009-2012 jclouds. All Rights Reserved.