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

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

@Singleton
public static class ServerToNodeMetadata.FindHardwareForServer
extends org.jclouds.collect.FindResourceInSet<Server,org.jclouds.compute.domain.Hardware>


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

@Inject
public ServerToNodeMetadata.FindHardwareForServer(com.google.common.base.Supplier<Set<? extends org.jclouds.compute.domain.Hardware>> hardware)
Method Detail

matches

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


Copyright © 2009-2012 jclouds. All Rights Reserved.