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

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

@Singleton
public static class ServerToNodeMetadata.FindLocationForServer
extends org.jclouds.collect.FindResourceInSet<Server,org.jclouds.domain.Location>


Field Summary
 
Fields inherited from class org.jclouds.collect.FindResourceInSet
logger
 
Constructor Summary
ServerToNodeMetadata.FindLocationForServer(com.google.common.base.Supplier<Set<? extends org.jclouds.domain.Location>> hardware)
           
 
Method Summary
 boolean matches(Server from, org.jclouds.domain.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 org.jclouds.domain.Location>> hardware)
Method Detail

matches

public boolean matches(Server from,
                       org.jclouds.domain.Location input)
Specified by:
matches in class org.jclouds.collect.FindResourceInSet<Server,org.jclouds.domain.Location>


Copyright © 2009-2012 jclouds. All Rights Reserved.