org.jclouds.trmk.vcloud_0_8.compute.strategy
Class StartVAppWithGroupEncodedIntoName

java.lang.Object
  extended by org.jclouds.trmk.vcloud_0_8.compute.strategy.StartVAppWithGroupEncodedIntoName
All Implemented Interfaces:
CreateNodeWithGroupEncodedIntoName

@Singleton
public class StartVAppWithGroupEncodedIntoName
extends Object
implements CreateNodeWithGroupEncodedIntoName

Author:
Adrian Cole

Field Summary
protected  TerremarkVCloudComputeClient computeClient
           
protected  TemplateToInstantiateOptions getOptions
           
protected  com.google.common.base.Function<VApp,NodeMetadata> vAppToNodeMetadata
           
 
Constructor Summary
protected StartVAppWithGroupEncodedIntoName(TerremarkVCloudComputeClient computeClient, com.google.common.base.Function<VApp,NodeMetadata> vAppToNodeMetadata, TemplateToInstantiateOptions getOptions, Map<String,Credentials> credentialStore)
           
 
Method Summary
 NodeMetadata createNodeWithGroupEncodedIntoName(String group, String name, Template template)
          create a node given the name and template parameters such as imageid, hardwareid, and locationid.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

computeClient

protected final TerremarkVCloudComputeClient computeClient

getOptions

protected final TemplateToInstantiateOptions getOptions

vAppToNodeMetadata

protected final com.google.common.base.Function<VApp,NodeMetadata> vAppToNodeMetadata
Constructor Detail

StartVAppWithGroupEncodedIntoName

@Inject
protected StartVAppWithGroupEncodedIntoName(TerremarkVCloudComputeClient computeClient,
                                                   com.google.common.base.Function<VApp,NodeMetadata> vAppToNodeMetadata,
                                                   TemplateToInstantiateOptions getOptions,
                                                   Map<String,Credentials> credentialStore)
Method Detail

createNodeWithGroupEncodedIntoName

public NodeMetadata createNodeWithGroupEncodedIntoName(String group,
                                                       String name,
                                                       Template template)
Description copied from interface: CreateNodeWithGroupEncodedIntoName
create a node given the name and template parameters such as imageid, hardwareid, and locationid.

Specified by:
createNodeWithGroupEncodedIntoName in interface CreateNodeWithGroupEncodedIntoName
Parameters:
group - group name supplied by the user
name - supplied by CreateNodesInGroupThenAddToSet and must have the tag encoded into it.
template - supplied by the user
Returns:
NodeMetadata from the new object, most likely in some pending state.


Copyright © 2009-2011 jclouds. All Rights Reserved.