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,org.jclouds.compute.domain.NodeMetadata>

@Singleton
public class ServerToNodeMetadata
extends Object
implements com.google.common.base.Function<Server,org.jclouds.compute.domain.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,org.jclouds.compute.domain.NodeMetadata.Status> serverStatusToNodeStatus
           
 
Method Summary
 org.jclouds.compute.domain.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

serverStatusToNodeStatus

public static final Map<Server.Status,org.jclouds.compute.domain.NodeMetadata.Status> serverStatusToNodeStatus
Method Detail

apply

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


Copyright © 2009-2012 jclouds. All Rights Reserved.