org.jclouds.servermanager.compute.functions
Class ServerToNodeMetadata.FindLocationForServer

java.lang.Object
  extended by org.jclouds.collect.FindResourceInSet<Server,Location>
      extended by org.jclouds.servermanager.compute.functions.ServerToNodeMetadata.FindLocationForServer
All Implemented Interfaces:
com.google.common.base.Function<Server,Location>
Enclosing class:
ServerToNodeMetadata

@Singleton
public static class ServerToNodeMetadata.FindLocationForServer
extends FindResourceInSet<Server,Location>


Field Summary
 
Fields inherited from class org.jclouds.collect.FindResourceInSet
logger
 
Constructor Summary
ServerToNodeMetadata.FindLocationForServer(com.google.common.base.Supplier<Set<? extends Location>> hardware)
           
 
Method Summary
 boolean matches(Server from, Location input)
           
 
Methods inherited from class org.jclouds.collect.FindResourceInSet
apply
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.google.common.base.Function
equals
 

Constructor Detail

ServerToNodeMetadata.FindLocationForServer

@Inject
public ServerToNodeMetadata.FindLocationForServer(com.google.common.base.Supplier<Set<? extends Location>> hardware)
Method Detail

matches

public boolean matches(Server from,
                       Location input)
Specified by:
matches in class FindResourceInSet<Server,Location>


Copyright © 2009-2011 jclouds. All Rights Reserved.