org.jclouds.slicehost.compute.strategy
Class SlicehostLifeCycleStrategy

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

@Singleton
public class SlicehostLifeCycleStrategy
extends Object
implements RebootNodeStrategy, SuspendNodeStrategy, ResumeNodeStrategy

Author:
Adrian Cole

Constructor Summary
protected SlicehostLifeCycleStrategy(SlicehostClient client, GetNodeMetadataStrategy getNode)
           
 
Method Summary
 NodeMetadata rebootNode(String id)
           
 NodeMetadata resumeNode(String id)
           
 NodeMetadata suspendNode(String id)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SlicehostLifeCycleStrategy

@Inject
protected SlicehostLifeCycleStrategy(SlicehostClient client,
                                            GetNodeMetadataStrategy getNode)
Method Detail

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.