org.jclouds.deltacloud.compute.functions
Class DeltacloudImageToOperatingSystem

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

@Singleton
public class DeltacloudImageToOperatingSystem
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
DeltacloudImageToOperatingSystem(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

DeltacloudImageToOperatingSystem

@Inject
public DeltacloudImageToOperatingSystem(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-2011 jclouds. All Rights Reserved.