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,org.jclouds.compute.domain.OperatingSystem>
@Singleton
public class TemplateToOperatingSystem
- extends Object
- implements com.google.common.base.Function<Template,org.jclouds.compute.domain.OperatingSystem>
- Author:
- Adrian Cole
|
Method Summary |
org.jclouds.compute.domain.OperatingSystem |
apply(Template 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 |
DEFAULT_PATTERN
public static final Pattern DEFAULT_PATTERN
logger
@Named(value="jclouds.compute")
protected org.jclouds.logging.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<org.jclouds.compute.domain.OsFamily,Map<String,String>> osVersionMap)
apply
public org.jclouds.compute.domain.OperatingSystem apply(Template from)
- Specified by:
apply in interface com.google.common.base.Function<Template,org.jclouds.compute.domain.OperatingSystem>
Copyright © 2009-2012 jclouds. All Rights Reserved.