org.jclouds.openstack.nova.compute.strategy
Class NovaLifeCycleStrategy
java.lang.Object
org.jclouds.openstack.nova.compute.strategy.NovaLifeCycleStrategy
- All Implemented Interfaces:
- RebootNodeStrategy, ResumeNodeStrategy, SuspendNodeStrategy
@Singleton
public class NovaLifeCycleStrategy
- 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 |
NovaLifeCycleStrategy
@Inject
protected NovaLifeCycleStrategy(NovaClient 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.