org.jclouds.cloudservers.compute.strategy
Class CloudServersLifeCycleStrategy

java.lang.Object
  extended by org.jclouds.cloudservers.compute.strategy.CloudServersLifeCycleStrategy
All Implemented Interfaces:
org.jclouds.compute.strategy.RebootNodeStrategy, org.jclouds.compute.strategy.ResumeNodeStrategy, org.jclouds.compute.strategy.SuspendNodeStrategy

@Singleton
public class CloudServersLifeCycleStrategy
extends Object
implements org.jclouds.compute.strategy.RebootNodeStrategy, org.jclouds.compute.strategy.SuspendNodeStrategy, org.jclouds.compute.strategy.ResumeNodeStrategy

Author:
Adrian Cole

Constructor Summary
protected CloudServersLifeCycleStrategy(CloudServersClient client, org.jclouds.compute.strategy.GetNodeMetadataStrategy getNode)
           
 
Method Summary
 org.jclouds.compute.domain.NodeMetadata rebootNode(String id)
           
 org.jclouds.compute.domain.NodeMetadata resumeNode(String id)
           
 org.jclouds.compute.domain.NodeMetadata suspendNode(String id)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CloudServersLifeCycleStrategy

@Inject
protected CloudServersLifeCycleStrategy(CloudServersClient client,
                                               org.jclouds.compute.strategy.GetNodeMetadataStrategy getNode)
Method Detail

rebootNode

public org.jclouds.compute.domain.NodeMetadata rebootNode(String id)
Specified by:
rebootNode in interface org.jclouds.compute.strategy.RebootNodeStrategy

suspendNode

public org.jclouds.compute.domain.NodeMetadata suspendNode(String id)
Specified by:
suspendNode in interface org.jclouds.compute.strategy.SuspendNodeStrategy

resumeNode

public org.jclouds.compute.domain.NodeMetadata resumeNode(String id)
Specified by:
resumeNode in interface org.jclouds.compute.strategy.ResumeNodeStrategy


Copyright © 2009-2011 jclouds. All Rights Reserved.