@Singleton public class ServerInfoToNodeMetadata extends Object implements com.google.common.base.Function<ServerInfo,NodeMetadata>
Modifier and Type | Class and Description |
---|---|
static class |
ServerInfoToNodeMetadata.DeviceToVolume |
static class |
ServerInfoToNodeMetadata.GetImageIdFromServer
When we create the boot drive of the server, by convention we set the name
to the image it came from.
|
Modifier and Type | Field and Description |
---|---|
static Map<ServerStatus,NodeMetadata.Status> |
serverStatusToNodeStatus |
public static final Map<ServerStatus,NodeMetadata.Status> serverStatusToNodeStatus
public NodeMetadata apply(ServerInfo from)
apply
in interface com.google.common.base.Function<ServerInfo,NodeMetadata>
Copyright © 2009-2013 jclouds. All Rights Reserved.