org.jclouds.vcloud.terremark.compute.strategy
Class TerremarkVCloudAddNodeWithTagStrategy

java.lang.Object
  extended by org.jclouds.vcloud.terremark.compute.strategy.TerremarkVCloudAddNodeWithTagStrategy
All Implemented Interfaces:
AddNodeWithTagStrategy

@Singleton
public class TerremarkVCloudAddNodeWithTagStrategy
extends Object
implements AddNodeWithTagStrategy

Author:
Adrian Cole

Field Summary
protected  TerremarkVCloudClient client
           
protected  TerremarkVCloudComputeClient computeClient
           
protected  GetNodeMetadataStrategy getNode
           
protected  TemplateToInstantiateOptions getOptions
           
 
Constructor Summary
protected TerremarkVCloudAddNodeWithTagStrategy(TerremarkVCloudClient client, TerremarkVCloudComputeClient computeClient, GetNodeMetadataStrategy getNode, TemplateToInstantiateOptions getOptions)
           
 
Method Summary
 NodeMetadata execute(String tag, String name, Template template)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

client

protected final TerremarkVCloudClient client

computeClient

protected final TerremarkVCloudComputeClient computeClient

getNode

protected final GetNodeMetadataStrategy getNode

getOptions

protected final TemplateToInstantiateOptions getOptions
Constructor Detail

TerremarkVCloudAddNodeWithTagStrategy

@Inject
protected TerremarkVCloudAddNodeWithTagStrategy(TerremarkVCloudClient client,
                                                       TerremarkVCloudComputeClient computeClient,
                                                       GetNodeMetadataStrategy getNode,
                                                       TemplateToInstantiateOptions getOptions)
Method Detail

execute

public NodeMetadata execute(String tag,
                            String name,
                            Template template)
Specified by:
execute in interface AddNodeWithTagStrategy


Copyright © 2009-2010 jclouds. All Rights Reserved.