org.jclouds.glesys.compute.functions
Class ParseOsFamilyVersion64BitFromImageName
java.lang.Object
org.jclouds.glesys.compute.functions.ParseOsFamilyVersion64BitFromImageName
- All Implemented Interfaces:
- com.google.common.base.Function<String,org.jclouds.compute.domain.OsFamilyVersion64Bit>
@Singleton
public class ParseOsFamilyVersion64BitFromImageName
- extends Object
- implements com.google.common.base.Function<String,org.jclouds.compute.domain.OsFamilyVersion64Bit>
Defaults to version null and 64bit, if the operating system is unrecognized
and the pattern "32bit" isn't in the string.
- Author:
- Adrian Cole
|
Method Summary |
org.jclouds.compute.domain.OsFamilyVersion64Bit |
apply(String input)
|
| 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 |
OSFAMILY_VERSION
public static final Pattern OSFAMILY_VERSION
OSFAMILY
public static final Pattern OSFAMILY
ParseOsFamilyVersion64BitFromImageName
@Inject
public ParseOsFamilyVersion64BitFromImageName(Map<org.jclouds.compute.domain.OsFamily,Map<String,String>> osVersionMap)
apply
public org.jclouds.compute.domain.OsFamilyVersion64Bit apply(String input)
- Specified by:
apply in interface com.google.common.base.Function<String,org.jclouds.compute.domain.OsFamilyVersion64Bit>
Copyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.