@Singleton public class InstanceToNodeMetadata extends Object implements com.google.common.base.Function<Instance,NodeMetadata>
Modifier and Type | Field and Description |
---|---|
protected com.google.common.base.Supplier<Set<? extends Hardware>> |
hardwares |
protected com.google.common.base.Supplier<Set<? extends Image>> |
images |
static Map<Instance.State,NodeMetadata.Status> |
instanceToNodeStatus |
protected com.google.common.base.Supplier<Set<? extends Location>> |
locations |
protected Logger |
logger |
protected GroupNamingConvention |
nodeNamingConvention |
Modifier and Type | Method and Description |
---|---|
NodeMetadata |
apply(Instance from) |
protected Hardware |
parseHardware(Instance from) |
protected Location |
parseLocation(Instance from) |
protected OperatingSystem |
parseOperatingSystem(Instance from) |
public static final Map<Instance.State,NodeMetadata.Status> instanceToNodeStatus
@Named(value="jclouds.compute") protected Logger logger
protected final GroupNamingConvention nodeNamingConvention
protected OperatingSystem parseOperatingSystem(Instance from)
public NodeMetadata apply(Instance from)
apply
in interface com.google.common.base.Function<Instance,NodeMetadata>
Copyright © 2009-2013 jclouds. All Rights Reserved.