@Singleton public class ServerDetailsToNodeMetadata extends Object implements com.google.common.base.Function<ServerDetails,org.jclouds.compute.domain.NodeMetadata>
| Modifier and Type | Field and Description |
|---|---|
protected com.google.common.base.Supplier<Set<? extends org.jclouds.compute.domain.Image>> |
images |
protected com.google.common.base.Supplier<Set<? extends org.jclouds.domain.Location>> |
locations |
protected org.jclouds.logging.Logger |
logger |
protected org.jclouds.compute.functions.GroupNamingConvention |
nodeNamingConvention |
static Map<Server.State,org.jclouds.compute.domain.NodeMetadata.Status> |
serverStateToNodeStatus |
| Modifier and Type | Method and Description |
|---|---|
org.jclouds.compute.domain.NodeMetadata |
apply(ServerDetails from) |
protected org.jclouds.compute.domain.OperatingSystem |
parseOperatingSystem(ServerDetails from) |
@Named(value="jclouds.compute") protected org.jclouds.logging.Logger logger
public static final Map<Server.State,org.jclouds.compute.domain.NodeMetadata.Status> serverStateToNodeStatus
protected final com.google.common.base.Supplier<Set<? extends org.jclouds.compute.domain.Image>> images
protected final com.google.common.base.Supplier<Set<? extends org.jclouds.domain.Location>> locations
protected final org.jclouds.compute.functions.GroupNamingConvention nodeNamingConvention
public org.jclouds.compute.domain.NodeMetadata apply(ServerDetails from)
apply in interface com.google.common.base.Function<ServerDetails,org.jclouds.compute.domain.NodeMetadata>protected org.jclouds.compute.domain.OperatingSystem parseOperatingSystem(ServerDetails from)
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.