org.jclouds.cloudservers.compute.functions
Class CloudServersImageToOperatingSystem

java.lang.Object
  extended by org.jclouds.cloudservers.compute.functions.CloudServersImageToOperatingSystem
All Implemented Interfaces:
com.google.common.base.Function<Image,OperatingSystem>

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

Author:
Adrian Cole

Field Summary
static Pattern DEFAULT_PATTERN
           
protected  Logger logger
           
static Pattern WINDOWS_PATTERN
           
 
Constructor Summary
CloudServersImageToOperatingSystem(Map<OsFamily,Map<String,String>> osVersionMap)
           
 
Method Summary
 OperatingSystem apply(Image 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

DEFAULT_PATTERN

public static final Pattern DEFAULT_PATTERN

WINDOWS_PATTERN

public static final Pattern WINDOWS_PATTERN

logger

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

CloudServersImageToOperatingSystem

@Inject
public CloudServersImageToOperatingSystem(Map<OsFamily,Map<String,String>> osVersionMap)
Method Detail

apply

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


Copyright © 2009-2012 jclouds. All Rights Reserved.