@Singleton public class ServerToNodeMetadata extends Object implements com.google.common.base.Function<Server,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 |
protected com.google.common.base.Supplier<Location> |
location |
protected Logger |
logger |
protected GroupNamingConvention |
nodeNamingConvention |
protected Map<ServerStatus,NodeMetadata.Status> |
serverToNodeStatus |
Modifier and Type | Method and Description |
---|---|
NodeMetadata |
apply(Server from) |
protected Hardware |
parseHardware(Server from) |
protected Image |
parseImage(Server from) |
@Named(value="jclouds.compute") protected Logger logger
protected final com.google.common.base.Supplier<Location> location
protected final Map<ServerStatus,NodeMetadata.Status> serverToNodeStatus
protected final GroupNamingConvention nodeNamingConvention
public NodeMetadata apply(Server from)
apply
in interface com.google.common.base.Function<Server,NodeMetadata>
Copyright © 2009-2013 jclouds. All Rights Reserved.