org.jclouds.collect
Class FindResourceInSet<F,T>
java.lang.Object
org.jclouds.collect.FindResourceInSet<F,T>
- All Implemented Interfaces:
- com.google.common.base.Function<F,T>
- Direct Known Subclasses:
- ServerInfoToNodeMetadata.FindImageForId, ServerInfoToNodeMetadata.FindImageForId, ServerToNodeMetadata.FindHardwareForServer, ServerToNodeMetadata.FindImageForServer, ServerToNodeMetadata.FindLocationForServer, VirtualGuestToNodeMetadata.FindLocationForVirtualGuest, VMToNodeMetadata.FindLocationForVM
@Singleton
public abstract class FindResourceInSet<F,T>
- extends Object
- implements com.google.common.base.Function<F,T>
- Author:
- Adrian Cole
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 |
logger
protected Logger logger
FindResourceInSet
@Inject
public FindResourceInSet(com.google.common.base.Supplier<Set<? extends T>> set)
matches
public abstract boolean matches(F from,
T input)
apply
public T apply(F from)
- Specified by:
apply
in interface com.google.common.base.Function<F,T>
Copyright © 2009-2011 jclouds. All Rights Reserved.