@Singleton public class ServerDetailsToNodeMetadata extends Object implements com.google.common.base.Function<ServerDetails,NodeMetadata>
Modifier and Type | Class and Description |
---|---|
static class |
ServerDetailsToNodeMetadata.FindLocationForServerDetails |
Modifier and Type | Field and Description |
---|---|
protected ServerDetailsToNodeMetadata.FindLocationForServerDetails |
findLocationForServerDetails |
protected com.google.common.base.Supplier<Set<? extends Image>> |
images |
protected Logger |
logger |
static Map<Server.State,NodeState> |
serverStateToNodeState |
Modifier and Type | Method and Description |
---|---|
NodeMetadata |
apply(ServerDetails from) |
protected OperatingSystem |
parseOperatingSystem(ServerDetails from) |
public static final Map<Server.State,NodeState> serverStateToNodeState
protected final ServerDetailsToNodeMetadata.FindLocationForServerDetails findLocationForServerDetails
public NodeMetadata apply(ServerDetails from)
apply
in interface com.google.common.base.Function<ServerDetails,NodeMetadata>
protected OperatingSystem parseOperatingSystem(ServerDetails from)
Copyright © 2009-2012 jclouds. All Rights Reserved.