org.jclouds.elasticstack.compute.functions
Class ServerInfoToNodeMetadata
java.lang.Object
org.jclouds.elasticstack.compute.functions.ServerInfoToNodeMetadata
- All Implemented Interfaces:
- com.google.common.base.Function<ServerInfo,org.jclouds.compute.domain.NodeMetadata>
@Singleton
public class ServerInfoToNodeMetadata
- extends Object
- implements com.google.common.base.Function<ServerInfo,org.jclouds.compute.domain.NodeMetadata>
- Author:
- Adrian Cole
|
Method Summary |
org.jclouds.compute.domain.NodeMetadata |
apply(ServerInfo 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 |
serverStatusToNodeState
public static final Map<ServerStatus,org.jclouds.compute.domain.NodeState> serverStatusToNodeState
apply
public org.jclouds.compute.domain.NodeMetadata apply(ServerInfo from)
- Specified by:
apply in interface com.google.common.base.Function<ServerInfo,org.jclouds.compute.domain.NodeMetadata>
Copyright © 2009-2012 jclouds. All Rights Reserved.