org.jclouds.glesys.compute.functions
Class FindLocationForServerSpec

java.lang.Object
  extended by org.jclouds.collect.FindResourceInSet<ServerSpec,Location>
      extended by org.jclouds.glesys.compute.functions.FindLocationForServerSpec
All Implemented Interfaces:
com.google.common.base.Function<ServerSpec,Location>

@Singleton
public class FindLocationForServerSpec
extends FindResourceInSet<ServerSpec,Location>

Author:
Adrian Cole

Field Summary
 
Fields inherited from class org.jclouds.collect.FindResourceInSet
logger
 
Constructor Summary
FindLocationForServerSpec(com.google.common.base.Supplier<Set<? extends Location>> location)
           
 
Method Summary
 boolean matches(ServerSpec 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

FindLocationForServerSpec

@Inject
public FindLocationForServerSpec(com.google.common.base.Supplier<Set<? extends Location>> location)
Method Detail

matches

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


Copyright © 2009-2012 jclouds. All Rights Reserved.