org.jclouds.openstack.nova.compute.strategy
Class NovaDestroyNodeStrategy

java.lang.Object
  extended by org.jclouds.openstack.nova.compute.strategy.NovaDestroyNodeStrategy
All Implemented Interfaces:
DestroyNodeStrategy

@Singleton
public class NovaDestroyNodeStrategy
extends Object
implements DestroyNodeStrategy

Author:
Adrian Cole

Constructor Summary
protected NovaDestroyNodeStrategy(NovaClient 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

NovaDestroyNodeStrategy

@Inject
protected NovaDestroyNodeStrategy(NovaClient 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.