@Singleton public class TemplateToOperatingSystem extends Object implements com.google.common.base.Function<Template,OperatingSystem>
Modifier and Type | Field and Description |
---|---|
static Pattern |
DEFAULT_PATTERN |
protected Logger |
logger |
Constructor and Description |
---|
TemplateToOperatingSystem(com.google.common.base.Supplier<Map<String,OSType>> osTypes,
com.google.common.base.Supplier<Map<String,String>> osCategories,
Map<OsFamily,Map<String,String>> osVersionMap) |
public static final Pattern DEFAULT_PATTERN
@Named(value="jclouds.compute") protected Logger logger
public OperatingSystem apply(Template from)
apply
in interface com.google.common.base.Function<Template,OperatingSystem>
Copyright © 2009-2013 jclouds. All Rights Reserved.