@Singleton public class VCloudComputeServiceAdapter extends Object implements org.jclouds.compute.ComputeServiceAdapter<VApp,VAppTemplate,VAppTemplate,org.jclouds.domain.Location>
VCloudApi implementation and the jclouds
ComputeService| Modifier and Type | Field and Description |
|---|---|
protected InstantiateVAppTemplateWithGroupEncodedIntoNameThenCustomizeDeployAndPowerOn |
booter |
protected VCloudApi |
client |
protected org.jclouds.logging.Logger |
logger |
protected com.google.common.base.Supplier<Map<String,Org>> |
nameToOrg |
protected com.google.common.base.Predicate<URI> |
successTester |
protected com.google.common.base.Supplier<Set<VAppTemplate>> |
templates |
protected com.google.common.base.Function<VAppTemplate,org.jclouds.ovf.Envelope> |
templateToEnvelope |
| Modifier | Constructor and Description |
|---|---|
protected |
VCloudComputeServiceAdapter(VCloudApi client,
com.google.common.base.Predicate<URI> successTester,
InstantiateVAppTemplateWithGroupEncodedIntoNameThenCustomizeDeployAndPowerOn booter,
com.google.common.base.Supplier<Map<String,Org>> nameToOrg,
VAppTemplatesSupplier templates,
com.google.common.base.Function<VAppTemplate,org.jclouds.ovf.Envelope> templateToEnvelope) |
| Modifier and Type | Method and Description |
|---|---|
org.jclouds.compute.ComputeServiceAdapter.NodeAndInitialCredentials<VApp> |
createNodeWithGroupEncodedIntoName(String group,
String name,
org.jclouds.compute.domain.Template template) |
void |
destroyNode(String id) |
VAppTemplate |
getImage(String in) |
VApp |
getNode(String in) |
Iterable<VAppTemplate> |
listHardwareProfiles() |
Iterable<VAppTemplate> |
listImages() |
Iterable<org.jclouds.domain.Location> |
listLocations() |
Iterable<VApp> |
listNodes() |
Iterable<VApp> |
listNodesByIds(Iterable<String> ids) |
void |
rebootNode(String in) |
void |
resumeNode(String in) |
void |
suspendNode(String in) |
void |
waitForTask(Task task) |
@Named(value="jclouds.compute") protected org.jclouds.logging.Logger logger
protected final VCloudApi client
protected final com.google.common.base.Predicate<URI> successTester
protected final InstantiateVAppTemplateWithGroupEncodedIntoNameThenCustomizeDeployAndPowerOn booter
protected final com.google.common.base.Supplier<Set<VAppTemplate>> templates
protected final com.google.common.base.Function<VAppTemplate,org.jclouds.ovf.Envelope> templateToEnvelope
@Inject protected VCloudComputeServiceAdapter(VCloudApi client, com.google.common.base.Predicate<URI> successTester, InstantiateVAppTemplateWithGroupEncodedIntoNameThenCustomizeDeployAndPowerOn booter, com.google.common.base.Supplier<Map<String,Org>> nameToOrg, VAppTemplatesSupplier templates, com.google.common.base.Function<VAppTemplate,org.jclouds.ovf.Envelope> templateToEnvelope)
public org.jclouds.compute.ComputeServiceAdapter.NodeAndInitialCredentials<VApp> createNodeWithGroupEncodedIntoName(String group, String name, org.jclouds.compute.domain.Template template)
createNodeWithGroupEncodedIntoName in interface org.jclouds.compute.ComputeServiceAdapter<VApp,VAppTemplate,VAppTemplate,org.jclouds.domain.Location>public Iterable<VAppTemplate> listHardwareProfiles()
listHardwareProfiles in interface org.jclouds.compute.ComputeServiceAdapter<VApp,VAppTemplate,VAppTemplate,org.jclouds.domain.Location>public Iterable<VAppTemplate> listImages()
listImages in interface org.jclouds.compute.ComputeServiceAdapter<VApp,VAppTemplate,VAppTemplate,org.jclouds.domain.Location>public Iterable<VApp> listNodes()
listNodes in interface org.jclouds.compute.ComputeServiceAdapter<VApp,VAppTemplate,VAppTemplate,org.jclouds.domain.Location>public Iterable<VApp> listNodesByIds(Iterable<String> ids)
listNodesByIds in interface org.jclouds.compute.ComputeServiceAdapter<VApp,VAppTemplate,VAppTemplate,org.jclouds.domain.Location>public Iterable<org.jclouds.domain.Location> listLocations()
listLocations in interface org.jclouds.compute.ComputeServiceAdapter<VApp,VAppTemplate,VAppTemplate,org.jclouds.domain.Location>public VApp getNode(String in)
getNode in interface org.jclouds.compute.ComputeServiceAdapter<VApp,VAppTemplate,VAppTemplate,org.jclouds.domain.Location>public VAppTemplate getImage(String in)
getImage in interface org.jclouds.compute.ComputeServiceAdapter<VApp,VAppTemplate,VAppTemplate,org.jclouds.domain.Location>public void destroyNode(String id)
destroyNode in interface org.jclouds.compute.ComputeServiceAdapter<VApp,VAppTemplate,VAppTemplate,org.jclouds.domain.Location>public void waitForTask(Task task)
public void rebootNode(String in)
rebootNode in interface org.jclouds.compute.ComputeServiceAdapter<VApp,VAppTemplate,VAppTemplate,org.jclouds.domain.Location>public void resumeNode(String in)
resumeNode in interface org.jclouds.compute.ComputeServiceAdapter<VApp,VAppTemplate,VAppTemplate,org.jclouds.domain.Location>public void suspendNode(String in)
suspendNode in interface org.jclouds.compute.ComputeServiceAdapter<VApp,VAppTemplate,VAppTemplate,org.jclouds.domain.Location>Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.