org.jclouds.gogrid.compute.strategy
Class GoGridDestroyNodeStrategy

java.lang.Object
  extended by org.jclouds.gogrid.compute.strategy.GoGridDestroyNodeStrategy
All Implemented Interfaces:
DestroyNodeStrategy

@Singleton
public class GoGridDestroyNodeStrategy
extends Object
implements DestroyNodeStrategy

Author:
Adrian Cole

Constructor Summary
protected GoGridDestroyNodeStrategy(GoGridClient 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

GoGridDestroyNodeStrategy

@Inject
protected GoGridDestroyNodeStrategy(GoGridClient 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.