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

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-2013 jclouds. All Rights Reserved.