org.jclouds.cloudservers.compute.strategy
Class CloudServersDestroyNodeStrategy

java.lang.Object
  extended by org.jclouds.cloudservers.compute.strategy.CloudServersDestroyNodeStrategy
All Implemented Interfaces:
DestroyNodeStrategy

@Singleton
public class CloudServersDestroyNodeStrategy
extends Object
implements DestroyNodeStrategy

Author:
Adrian Cole

Constructor Summary
protected CloudServersDestroyNodeStrategy(CloudServersClient client, 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
 

Constructor Detail

CloudServersDestroyNodeStrategy

@Inject
protected CloudServersDestroyNodeStrategy(CloudServersClient client,
                                                 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.