@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,NodeState> |
instanceToNodeState |
protected com.google.common.base.Supplier<Set<? extends Location>> |
locations |
protected Logger |
logger |
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,NodeState> instanceToNodeState
protected OperatingSystem parseOperatingSystem(Instance from)
public NodeMetadata apply(Instance from)
apply
in interface com.google.common.base.Function<Instance,NodeMetadata>
Copyright © 2009-2012 jclouds. All Rights Reserved.