org.jclouds.elasticstack.compute.functions
Class ServerInfoToNodeMetadata.GetImageIdFromServer
java.lang.Object
org.jclouds.elasticstack.compute.functions.ServerInfoToNodeMetadata.GetImageIdFromServer
- All Implemented Interfaces:
- com.google.common.base.Function<Server,String>
- Enclosing class:
- ServerInfoToNodeMetadata
@Singleton
public static class ServerInfoToNodeMetadata.GetImageIdFromServer
- extends Object
- implements com.google.common.base.Function<Server,String>
When we create the boot drive of the server, by convention we set the name
to the image it came from.
- Author:
- Adrian Cole
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 |
logger
protected Logger logger
ServerInfoToNodeMetadata.GetImageIdFromServer
@Inject
public ServerInfoToNodeMetadata.GetImageIdFromServer(com.google.common.cache.LoadingCache<String,DriveInfo> cache)
apply
public String apply(Server from)
- Specified by:
apply
in interface com.google.common.base.Function<Server,String>
Copyright © 2009-2012 jclouds. All Rights Reserved.