@Singleton public class TerremarkVCloudLifeCycleStrategy extends Object implements RebootNodeStrategy, ResumeNodeStrategy, SuspendNodeStrategy
Modifier and Type | Field and Description |
---|---|
protected GetNodeMetadataStrategy |
getNode |
protected Logger |
logger |
protected com.google.common.base.Predicate<URI> |
taskTester |
Modifier | Constructor and Description |
---|---|
protected |
TerremarkVCloudLifeCycleStrategy(TerremarkVCloudClient client,
com.google.common.base.Predicate<URI> taskTester,
GetNodeMetadataStrategy getNode) |
Modifier and Type | Method and Description |
---|---|
NodeMetadata |
rebootNode(String in) |
NodeMetadata |
resumeNode(String in) |
NodeMetadata |
suspendNode(String in) |
@Named(value="jclouds.compute") protected Logger logger
protected final com.google.common.base.Predicate<URI> taskTester
protected final GetNodeMetadataStrategy getNode
@Inject protected TerremarkVCloudLifeCycleStrategy(TerremarkVCloudClient client, com.google.common.base.Predicate<URI> taskTester, GetNodeMetadataStrategy getNode)
public NodeMetadata rebootNode(String in)
rebootNode
in interface RebootNodeStrategy
public NodeMetadata resumeNode(String in)
resumeNode
in interface ResumeNodeStrategy
public NodeMetadata suspendNode(String in)
suspendNode
in interface SuspendNodeStrategy
Copyright © 2009-2013 jclouds. All Rights Reserved.