org.jclouds.trmk.vcloud_0_8.compute.functions
Class ParseOsFromVAppTemplateName

java.lang.Object
  extended by 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

Field Summary
protected static Pattern OS_PATTERN
           
protected  Map<OsFamily,Map<String,String>> osVersionMap
           
 
Constructor Summary
protected ParseOsFromVAppTemplateName(Map<OsFamily,Map<String,String>> osVersionMap)
           
 
Method Summary
 OperatingSystem apply(String 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

OS_PATTERN

protected static final Pattern OS_PATTERN

osVersionMap

protected final Map<OsFamily,Map<String,String>> osVersionMap
Constructor Detail

ParseOsFromVAppTemplateName

@Inject
protected ParseOsFromVAppTemplateName(Map<OsFamily,Map<String,String>> osVersionMap)
Method Detail

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.