org.jclouds.cloudsigma.compute.functions
Class ParseOsFamilyVersion64BitFromImageName
java.lang.Object
org.jclouds.cloudsigma.compute.functions.ParseOsFamilyVersion64BitFromImageName
- All Implemented Interfaces:
- com.google.common.base.Function<String,OsFamilyVersion64Bit>
@Singleton
public class ParseOsFamilyVersion64BitFromImageName
- extends Object
- implements com.google.common.base.Function<String,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
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 |
PATTERN
public static final Pattern PATTERN
ParseOsFamilyVersion64BitFromImageName
@Inject
public ParseOsFamilyVersion64BitFromImageName(Map<OsFamily,Map<String,String>> osVersionMap)
apply
public OsFamilyVersion64Bit apply(String input)
- Specified by:
apply
in interface com.google.common.base.Function<String,OsFamilyVersion64Bit>
Copyright © 2009-2012 jclouds. All Rights Reserved.