org.jclouds.cloudstack.compute.functions
Class TemplateToOperatingSystem
java.lang.Object
org.jclouds.cloudstack.compute.functions.TemplateToOperatingSystem
- All Implemented Interfaces:
- com.google.common.base.Function<Template,OperatingSystem>
@Singleton
public class TemplateToOperatingSystem
- extends Object
- implements com.google.common.base.Function<Template,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 |
DEFAULT_PATTERN
public static final Pattern DEFAULT_PATTERN
logger
@Named(value="jclouds.compute")
protected Logger logger
TemplateToOperatingSystem
@Inject
public TemplateToOperatingSystem(com.google.common.base.Supplier<Map<Long,OSType>> osTypes,
com.google.common.base.Supplier<Map<Long,String>> osCategories,
Map<OsFamily,Map<String,String>> osVersionMap)
apply
public OperatingSystem apply(Template from)
- Specified by:
apply
in interface com.google.common.base.Function<Template,OperatingSystem>
Copyright © 2009-2012 jclouds. All Rights Reserved.