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 Pattern
GOGRID_OS_PATTERN
static Pattern
GOGRID_VERSION_PATTERN
protected Logger
logger
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Image
apply(ServerImage from)
protected OperatingSystem
parseOs(ServerImage from)
-
-
-
Method Detail
-
parseOs
protected OperatingSystem parseOs(ServerImage from)
-
apply
public Image apply(ServerImage from)
- Specified by:
apply
in interfacecom.google.common.base.Function<ServerImage,Image>
- Specified by:
apply
in interfaceFunction<ServerImage,Image>
-
-