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,org.jclouds.compute.domain.Image>

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


Field Summary
static Pattern GOGRID_OS_PATTERN
           
static Pattern GOGRID_VERSION_PATTERN
           
protected  org.jclouds.logging.Logger logger
           
 
Method Summary
 org.jclouds.compute.domain.Image apply(ServerImage from)
           
protected  org.jclouds.compute.domain.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 org.jclouds.logging.Logger logger
Method Detail

parseOs

protected org.jclouds.compute.domain.OperatingSystem parseOs(ServerImage from)

apply

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


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.