org.jclouds.openstack.nova.compute.strategy
Class NovaListNodesStrategy

java.lang.Object
  extended by org.jclouds.openstack.nova.compute.strategy.NovaListNodesStrategy
All Implemented Interfaces:
ListNodesStrategy

@Singleton
public class NovaListNodesStrategy
extends Object
implements ListNodesStrategy

Author:
Adrian Cole

Constructor Summary
protected NovaListNodesStrategy(NovaClient client, com.google.common.base.Function<Server,NodeMetadata> serverToNodeMetadata)
           
 
Method Summary
 Iterable<? extends NodeMetadata> listDetailsOnNodesMatching(com.google.common.base.Predicate<ComputeMetadata> filter)
           
 Iterable<? extends ComputeMetadata> listNodes()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NovaListNodesStrategy

@Inject
protected NovaListNodesStrategy(NovaClient client,
                                       com.google.common.base.Function<Server,NodeMetadata> serverToNodeMetadata)
Method Detail

listNodes

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

listDetailsOnNodesMatching

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


Copyright © 2009-2011 jclouds. All Rights Reserved.