org.jclouds.vcloud.compute.strategy
Class VCloudListNodesStrategy
java.lang.Object
org.jclouds.vcloud.compute.strategy.VCloudListNodesStrategy
- All Implemented Interfaces:
- ListNodesStrategy
@Singleton
public class VCloudListNodesStrategy
- extends Object
- implements ListNodesStrategy
- Author:
- Adrian Cole
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
@Named(value="jclouds.compute")
public Logger logger
client
protected final VCloudClient client
nameToOrg
protected final com.google.common.base.Supplier<Map<String,? extends Org>> nameToOrg
getNodeMetadata
protected final VCloudGetNodeMetadataStrategy getNodeMetadata
findLocationForResourceInVDC
protected final FindLocationForResource findLocationForResourceInVDC
VCloudListNodesStrategy
@Inject
protected VCloudListNodesStrategy(VCloudClient client,
com.google.common.base.Supplier<Map<String,? extends Org>> nameToOrg,
VCloudGetNodeMetadataStrategy getNodeMetadata,
FindLocationForResource findLocationForResourceInVDC)
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.