org.jclouds.trmk.vcloud_0_8.compute.functions
Class ParseOsFromVAppTemplateName
java.lang.Object
org.jclouds.trmk.vcloud_0_8.compute.functions.ParseOsFromVAppTemplateName
- All Implemented Interfaces:
- com.google.common.base.Function<String,OperatingSystem>
- Direct Known Subclasses:
- TerremarkECloudParseOsFromVAppTemplateName
@Singleton
public class ParseOsFromVAppTemplateName
- extends Object
- implements com.google.common.base.Function<String,OperatingSystem>
- 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 |
OS_PATTERN
protected static final Pattern OS_PATTERN
osVersionMap
protected final Map<OsFamily,Map<String,String>> osVersionMap
ParseOsFromVAppTemplateName
@Inject
protected ParseOsFromVAppTemplateName(Map<OsFamily,Map<String,String>> osVersionMap)
apply
public OperatingSystem apply(String from)
- Specified by:
apply
in interface com.google.common.base.Function<String,OperatingSystem>
Copyright © 2009-2012 jclouds. All Rights Reserved.