org.jclouds.openstack.nova.compute.functions
Class ServerToNodeMetadata
java.lang.Object
org.jclouds.openstack.nova.compute.functions.ServerToNodeMetadata
- All Implemented Interfaces:
- com.google.common.base.Function<Server,NodeMetadata>
@Singleton
public class ServerToNodeMetadata
- extends Object
- implements com.google.common.base.Function<Server,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
location
protected final com.google.common.base.Supplier<Location> location
serverToNodeState
protected final Map<ServerStatus,NodeState> serverToNodeState
images
protected final com.google.common.base.Supplier<Set<? extends Image>> images
hardwares
protected final com.google.common.base.Supplier<Set<? extends Hardware>> hardwares
apply
public NodeMetadata apply(Server from)
- Specified by:
apply
in interface com.google.common.base.Function<Server,NodeMetadata>
parseHardware
protected Hardware parseHardware(Server from)
parseImage
protected Image parseImage(Server from)
Copyright © 2009-2012 jclouds. All Rights Reserved.