org.jclouds.glesys.compute.functions
Class ServerDetailsToNodeMetadata
java.lang.Object
org.jclouds.glesys.compute.functions.ServerDetailsToNodeMetadata
- All Implemented Interfaces:
- com.google.common.base.Function<ServerDetails,NodeMetadata>
@Singleton
public class ServerDetailsToNodeMetadata
- extends Object
- implements com.google.common.base.Function<ServerDetails,NodeMetadata>
- 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
@Named(value="jclouds.compute")
protected Logger logger
serverStateToNodeState
public static final Map<Server.State,NodeState> serverStateToNodeState
images
protected final com.google.common.base.Supplier<Set<? extends Image>> images
findLocationForServerDetails
protected final ServerDetailsToNodeMetadata.FindLocationForServerDetails findLocationForServerDetails
apply
public NodeMetadata apply(ServerDetails from)
- Specified by:
apply
in interface com.google.common.base.Function<ServerDetails,NodeMetadata>
parseOperatingSystem
protected OperatingSystem parseOperatingSystem(ServerDetails from)
Copyright © 2009-2012 jclouds. All Rights Reserved.