org.jclouds.rimuhosting.miro.compute.functions
Class ServerToNodeMetadata
java.lang.Object
org.jclouds.rimuhosting.miro.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
protected Logger logger
credentialStore
protected final Map<String,Credentials> credentialStore
locations
protected final com.google.common.base.Supplier<Set<? extends Location>> locations
getPublicAddresses
protected final com.google.common.base.Function<Server,Iterable<String>> getPublicAddresses
runningStateToNodeState
protected final Map<RunningState,NodeState> runningStateToNodeState
images
protected final com.google.common.base.Supplier<Set<? extends Image>> images
apply
public NodeMetadata apply(Server from)
- Specified by:
apply
in interface com.google.common.base.Function<Server,NodeMetadata>
parseOperatingSystem
protected OperatingSystem parseOperatingSystem(Server from,
Location location)
Copyright © 2009-2011 jclouds. All Rights Reserved.