org.jclouds.cloudservers.compute.strategy
Class CloudServersLifeCycleStrategy
java.lang.Object
org.jclouds.cloudservers.compute.strategy.CloudServersLifeCycleStrategy
- All Implemented Interfaces:
- RebootNodeStrategy, ResumeNodeStrategy, SuspendNodeStrategy
@Singleton
public class CloudServersLifeCycleStrategy
- extends Object
- implements RebootNodeStrategy, SuspendNodeStrategy, ResumeNodeStrategy
- Author:
- Adrian Cole
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CloudServersLifeCycleStrategy
@Inject
protected CloudServersLifeCycleStrategy(CloudServersClient client,
GetNodeMetadataStrategy getNode)
rebootNode
public NodeMetadata rebootNode(String id)
- Specified by:
rebootNode
in interface RebootNodeStrategy
suspendNode
public NodeMetadata suspendNode(String id)
- Specified by:
suspendNode
in interface SuspendNodeStrategy
resumeNode
public NodeMetadata resumeNode(String id)
- Specified by:
resumeNode
in interface ResumeNodeStrategy
Copyright © 2009-2011 jclouds. All Rights Reserved.