org.jclouds.openstack.nova.v2_0.compute.functions
Class ImageInZoneToImage
java.lang.Object
org.jclouds.openstack.nova.v2_0.compute.functions.ImageInZoneToImage
- All Implemented Interfaces:
- com.google.common.base.Function<ImageInZone,Image>
public class ImageInZoneToImage
- extends Object
- implements com.google.common.base.Function<ImageInZone,Image>
A function for transforming a nova-specific Image into a generic Image object.
- Author:
- Matt Stephenson
| Methods inherited from interface com.google.common.base.Function |
equals |
ImageInZoneToImage
@Inject
public ImageInZoneToImage(Map<Image.Status,Image.Status> toPortableImageStatus,
com.google.common.base.Function<Image,OperatingSystem> imageToOs,
com.google.common.base.Supplier<Map<String,Location>> locationIndex)
apply
public Image apply(ImageInZone imageInZone)
- Specified by:
apply in interface com.google.common.base.Function<ImageInZone,Image>
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2009-2012 jclouds. All Rights Reserved.