Class ImageInRegionToImage
java.lang.Object
org.jclouds.openstack.nova.v2_0.compute.functions.ImageInRegionToImage
- All Implemented Interfaces:
com.google.common.base.Function<ImageInRegion,
,Image> Function<ImageInRegion,
Image>
public class ImageInRegionToImage
extends Object
implements com.google.common.base.Function<ImageInRegion,Image>
A function for transforming a nova-specific Image into a generic Image object.
-
Constructor Summary
ConstructorsConstructorDescriptionImageInRegionToImage
(Map<Image.Status, Image.Status> toPortableImageStatus, com.google.common.base.Function<Image, OperatingSystem> imageToOs, com.google.common.base.Supplier<Map<String, Location>> locationIndex) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.common.base.Function
equals
-
Constructor Details
-
ImageInRegionToImage
@Inject public ImageInRegionToImage(Map<Image.Status, Image.Status> toPortableImageStatus, com.google.common.base.Function<Image, OperatingSystem> imageToOs, com.google.common.base.Supplier<Map<String, Location>> locationIndex)
-
-
Method Details
-
apply
- Specified by:
apply
in interfacecom.google.common.base.Function<ImageInRegion,
Image> - Specified by:
apply
in interfaceFunction<ImageInRegion,
Image>
-
toString
-