org.jclouds.vcloud.compute.strategy
Class VCloudLifeCycleStrategy
java.lang.Object
org.jclouds.vcloud.compute.strategy.VCloudLifeCycleStrategy
- All Implemented Interfaces:
- RebootNodeStrategy, ResumeNodeStrategy, SuspendNodeStrategy
@Singleton
public class VCloudLifeCycleStrategy
- extends Object
- implements RebootNodeStrategy, ResumeNodeStrategy, SuspendNodeStrategy
- Author:
- Adrian Cole
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
taskTester
protected final com.google.common.base.Predicate<URI> taskTester
getNode
protected final GetNodeMetadataStrategy getNode
VCloudLifeCycleStrategy
@Inject
protected VCloudLifeCycleStrategy(VCloudClient client,
com.google.common.base.Predicate<URI> taskTester,
GetNodeMetadataStrategy getNode)
rebootNode
public NodeMetadata rebootNode(String in)
- Specified by:
rebootNode
in interface RebootNodeStrategy
resumeNode
public NodeMetadata resumeNode(String in)
- Specified by:
resumeNode
in interface ResumeNodeStrategy
suspendNode
public NodeMetadata suspendNode(String in)
- Specified by:
suspendNode
in interface SuspendNodeStrategy
Copyright © 2009-2011 jclouds. All Rights Reserved.