org.jclouds.trmk.vcloud_0_8.compute.strategy
Class TerremarkVCloudListNodesStrategy

java.lang.Object
  extended by org.jclouds.trmk.vcloud_0_8.compute.strategy.TerremarkVCloudListNodesStrategy
All Implemented Interfaces:
ListNodesStrategy

@Singleton
public class TerremarkVCloudListNodesStrategy
extends Object
implements ListNodesStrategy

Author:
Adrian Cole

Field Summary
protected  TerremarkVCloudClient client
           
protected  FindLocationForResource findLocationForResourceInVDC
           
protected  TerremarkVCloudGetNodeMetadataStrategy getNodeMetadata
           
 Logger logger
           
 
Constructor Summary
protected TerremarkVCloudListNodesStrategy(TerremarkVCloudClient client, com.google.common.base.Supplier<Map<String,ReferenceType>> orgNameToEndpoint, TerremarkVCloudGetNodeMetadataStrategy getNodeMetadata, FindLocationForResource findLocationForResourceInVDC)
           
 
Method Summary
 Iterable<NodeMetadata> listDetailsOnNodesMatching(com.google.common.base.Predicate<ComputeMetadata> filter)
           
 Iterable<ComputeMetadata> listNodes()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

@Named(value="jclouds.compute")
public Logger logger

getNodeMetadata

protected final TerremarkVCloudGetNodeMetadataStrategy getNodeMetadata

client

protected final TerremarkVCloudClient client

findLocationForResourceInVDC

protected final FindLocationForResource findLocationForResourceInVDC
Constructor Detail

TerremarkVCloudListNodesStrategy

@Inject
protected TerremarkVCloudListNodesStrategy(TerremarkVCloudClient client,
                                                  com.google.common.base.Supplier<Map<String,ReferenceType>> orgNameToEndpoint,
                                                  TerremarkVCloudGetNodeMetadataStrategy getNodeMetadata,
                                                  FindLocationForResource findLocationForResourceInVDC)
Method Detail

listNodes

public Iterable<ComputeMetadata> listNodes()
Specified by:
listNodes in interface ListNodesStrategy

listDetailsOnNodesMatching

public Iterable<NodeMetadata> listDetailsOnNodesMatching(com.google.common.base.Predicate<ComputeMetadata> filter)
Specified by:
listDetailsOnNodesMatching in interface ListNodesStrategy


Copyright © 2009-2011 jclouds. All Rights Reserved.