org.jclouds.gogrid.compute.functions
Class ServerImageToImage

java.lang.Object
  extended by org.jclouds.gogrid.compute.functions.ServerImageToImage
All Implemented Interfaces:
com.google.common.base.Function<ServerImage,Image>

@Singleton
public class ServerImageToImage
extends Object
implements com.google.common.base.Function<ServerImage,Image>

Author:
Adrian Cole

Field Summary
static Pattern GOGRID_OS_PATTERN
           
static Pattern GOGRID_VERSION_PATTERN
           
protected  Logger logger
           
 
Method Summary
 Image apply(ServerImage from)
           
protected  OperatingSystem parseOs(ServerImage from)
           
 
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
 

Field Detail

GOGRID_OS_PATTERN

public static final Pattern GOGRID_OS_PATTERN

GOGRID_VERSION_PATTERN

public static final Pattern GOGRID_VERSION_PATTERN

logger

@Named(value="jclouds.compute")
protected Logger logger
Method Detail

parseOs

protected OperatingSystem parseOs(ServerImage from)

apply

public Image apply(ServerImage from)
Specified by:
apply in interface com.google.common.base.Function<ServerImage,Image>


Copyright © 2009-2012 jclouds. All Rights Reserved.