org.jclouds.cloudsigma.compute.functions
Class PreinstalledDiskToImage

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

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

Author:
Adrian Cole

Constructor Summary
PreinstalledDiskToImage(com.google.common.base.Supplier<Location> locationSupplier, com.google.common.base.Function<String,OsFamilyVersion64Bit> imageParser)
           
 
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

PreinstalledDiskToImage

@Inject
public PreinstalledDiskToImage(com.google.common.base.Supplier<Location> locationSupplier,
                                      com.google.common.base.Function<String,OsFamilyVersion64Bit> imageParser)
Method Detail

apply

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


Copyright © 2009-2012 jclouds. All Rights Reserved.