Class ImageToOperatingSystem
- java.lang.Object
-
- org.jclouds.openstack.nova.v2_0.compute.functions.ImageToOperatingSystem
-
- All Implemented Interfaces:
com.google.common.base.Function<Image,OperatingSystem>
,Function<Image,OperatingSystem>
public class ImageToOperatingSystem extends Object implements com.google.common.base.Function<Image,OperatingSystem>
A function for transforming a nova specific Image into a generic OperatingSystem object.
-
-
Field Summary
Fields Modifier and Type Field Description static Pattern
DEFAULT_PATTERN
protected Logger
logger
protected Map<OsFamily,Map<String,String>>
osVersionMap
static Pattern
WINDOWS_PATTERN
-
-
-
Method Detail
-
apply
public OperatingSystem apply(Image from)
- Specified by:
apply
in interfacecom.google.common.base.Function<Image,OperatingSystem>
- Specified by:
apply
in interfaceFunction<Image,OperatingSystem>
-
-