org.jclouds.vcloud.compute.strategy
Class VCloudDestroyNodeStrategy
java.lang.Object
org.jclouds.vcloud.compute.strategy.VCloudDestroyNodeStrategy
- All Implemented Interfaces:
- DestroyNodeStrategy
@Singleton
public class VCloudDestroyNodeStrategy
- extends Object
- implements DestroyNodeStrategy
- Author:
- Adrian Cole
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
@Named(value="jclouds.compute")
protected Logger logger
successTester
protected final com.google.common.base.Predicate<URI> successTester
client
protected final VCloudClient client
getNode
protected final GetNodeMetadataStrategy getNode
VCloudDestroyNodeStrategy
@Inject
protected VCloudDestroyNodeStrategy(com.google.common.base.Predicate<URI> successTester,
VCloudClient client,
GetNodeMetadataStrategy getNode)
destroyNode
public NodeMetadata destroyNode(String id)
- Specified by:
destroyNode
in interface DestroyNodeStrategy
- Returns:
- null if the node wasn't found
waitForTask
public void waitForTask(Task task,
VApp vAppResponse)
Copyright © 2009-2011 jclouds. All Rights Reserved.