org.jclouds.servermanager.compute.functions
Class ServerToNodeMetadata

java.lang.Object
  extended by org.jclouds.servermanager.compute.functions.ServerToNodeMetadata
All Implemented Interfaces:
com.google.common.base.Function<Server,NodeMetadata>

@Singleton
public class ServerToNodeMetadata
extends Object
implements com.google.common.base.Function<Server,NodeMetadata>

Author:
Adrian Cole

Nested Class Summary
static class ServerToNodeMetadata.FindHardwareForServer
           
static class ServerToNodeMetadata.FindImageForServer
           
static class ServerToNodeMetadata.FindLocationForServer
           
 
Field Summary
static Map<Server.Status,NodeState> serverStatusToNodeState
           
 
Method Summary
 NodeMetadata apply(Server from)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.google.common.base.Function
equals
 

Field Detail

serverStatusToNodeState

public static final Map<Server.Status,NodeState> serverStatusToNodeState
Method Detail

apply

public NodeMetadata apply(Server from)
Specified by:
apply in interface com.google.common.base.Function<Server,NodeMetadata>


Copyright © 2009-2011 jclouds. All Rights Reserved.