org.jclouds.elasticstack.compute.functions
Class WellKnownImageToImage

java.lang.Object
  extended by org.jclouds.elasticstack.compute.functions.WellKnownImageToImage
All Implemented Interfaces:
com.google.common.base.Function<DriveInfo,Image>

@Singleton
public class WellKnownImageToImage
extends Object
implements com.google.common.base.Function<DriveInfo,Image>

Author:
Adrian Cole

Constructor Summary
WellKnownImageToImage(com.google.common.base.Supplier<Location> locationSupplier, Map<String,WellKnownImage> preinstalledImages)
           
 
Method Summary
 Image apply(DriveInfo drive)
           
 
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

WellKnownImageToImage

@Inject
public WellKnownImageToImage(com.google.common.base.Supplier<Location> locationSupplier,
                                    Map<String,WellKnownImage> preinstalledImages)
Method Detail

apply

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


Copyright © 2009-2011 jclouds. All Rights Reserved.