org.jclouds.ec2.compute.functions
Class RegionAndIdToImage

java.lang.Object
  extended by org.jclouds.ec2.compute.functions.RegionAndIdToImage
All Implemented Interfaces:
com.google.common.base.Function<RegionAndName,Image>

@Singleton
public final class RegionAndIdToImage
extends Object
implements com.google.common.base.Function<RegionAndName,Image>

Author:
Adrian Cole

Field Summary
protected  Logger logger
           
 
Constructor Summary
RegionAndIdToImage(EC2ImageParser parser, EC2Client sync)
           
 
Method Summary
 Image apply(RegionAndName key)
           
static String message(RegionAndName key, Exception e)
           
 
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
 

Field Detail

logger

protected Logger logger
Constructor Detail

RegionAndIdToImage

@Inject
public RegionAndIdToImage(EC2ImageParser parser,
                                 EC2Client sync)
Method Detail

apply

public Image apply(RegionAndName key)
Specified by:
apply in interface com.google.common.base.Function<RegionAndName,Image>

message

public static String message(RegionAndName key,
                             Exception e)


Copyright © 2009-2011 jclouds. All Rights Reserved.