org.jclouds.cloudsigma.compute.functions
Class PreinstalledDiskToImage
java.lang.Object
org.jclouds.cloudsigma.compute.functions.PreinstalledDiskToImage
- All Implemented Interfaces:
- com.google.common.base.Function<DriveInfo,org.jclouds.compute.domain.Image>
@Singleton
public class PreinstalledDiskToImage
- extends Object
- implements com.google.common.base.Function<DriveInfo,org.jclouds.compute.domain.Image>
|
Constructor Summary |
PreinstalledDiskToImage(com.google.common.base.Supplier<org.jclouds.domain.Location> locationSupplier,
com.google.common.base.Function<String,org.jclouds.compute.domain.OsFamilyVersion64Bit> imageParser)
|
|
Method Summary |
org.jclouds.compute.domain.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 |
PreinstalledDiskToImage
@Inject
public PreinstalledDiskToImage(com.google.common.base.Supplier<org.jclouds.domain.Location> locationSupplier,
com.google.common.base.Function<String,org.jclouds.compute.domain.OsFamilyVersion64Bit> imageParser)
apply
public org.jclouds.compute.domain.Image apply(DriveInfo drive)
- Specified by:
apply in interface com.google.common.base.Function<DriveInfo,org.jclouds.compute.domain.Image>
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.