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

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

@Singleton
public class TerremarkVCloudDestroyNodeStrategy
extends Object
implements DestroyNodeStrategy

Author:
Adrian Cole

Field Summary
protected  TerremarkVCloudComputeClient computeClient
           
protected  GetNodeMetadataStrategy getNode
           
 
Constructor Summary
protected TerremarkVCloudDestroyNodeStrategy(TerremarkVCloudComputeClient computeClient, GetNodeMetadataStrategy getNode)
           
 
Method Summary
 NodeMetadata destroyNode(String id)
           
 
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

getNode

protected final GetNodeMetadataStrategy getNode
Constructor Detail

TerremarkVCloudDestroyNodeStrategy

@Inject
protected TerremarkVCloudDestroyNodeStrategy(TerremarkVCloudComputeClient computeClient,
                                                    GetNodeMetadataStrategy getNode)
Method Detail

destroyNode

public NodeMetadata destroyNode(String id)
Specified by:
destroyNode in interface DestroyNodeStrategy
Returns:
null if the node wasn't found


Copyright © 2009-2011 jclouds. All Rights Reserved.