Class ServerImageToImage
- java.lang.Object
-
- org.jclouds.gogrid.compute.functions.ServerImageToImage
-
- All Implemented Interfaces:
com.google.common.base.Function<ServerImage,Image>,Function<ServerImage,Image>
@Singleton public class ServerImageToImage extends Object implements com.google.common.base.Function<ServerImage,Image>
-
-
Field Summary
Fields Modifier and Type Field Description static PatternGOGRID_OS_PATTERNstatic PatternGOGRID_VERSION_PATTERNprotected Loggerlogger
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Imageapply(ServerImage from)protected OperatingSystemparseOs(ServerImage from)
-
-
-
Method Detail
-
parseOs
protected OperatingSystem parseOs(ServerImage from)
-
apply
public Image apply(ServerImage from)
- Specified by:
applyin interfacecom.google.common.base.Function<ServerImage,Image>- Specified by:
applyin interfaceFunction<ServerImage,Image>
-
-