public class ServerInZoneToNodeMetadata extends Object implements com.google.common.base.Function<ServerInZone,org.jclouds.compute.domain.NodeMetadata>
| Modifier and Type | Field and Description |
|---|---|
protected com.google.common.base.Supplier<Set<? extends org.jclouds.compute.domain.Hardware>> |
hardwares |
protected com.google.common.base.Supplier<Set<? extends org.jclouds.compute.domain.Image>> |
images |
static com.google.common.base.Predicate<String> |
isInet4Address |
protected com.google.common.base.Supplier<Map<String,org.jclouds.domain.Location>> |
locationIndex |
protected org.jclouds.logging.Logger |
logger |
protected org.jclouds.compute.functions.GroupNamingConvention |
nodeNamingConvention |
protected Map<Server.Status,org.jclouds.compute.domain.NodeMetadata.Status> |
toPortableNodeStatus |
| Constructor and Description |
|---|
ServerInZoneToNodeMetadata(Map<Server.Status,org.jclouds.compute.domain.NodeMetadata.Status> toPortableNodeStatus,
com.google.common.base.Supplier<Map<String,org.jclouds.domain.Location>> locationIndex,
com.google.common.base.Supplier<Set<? extends org.jclouds.compute.domain.Image>> images,
com.google.common.base.Supplier<Set<? extends org.jclouds.compute.domain.Hardware>> hardwares,
org.jclouds.compute.functions.GroupNamingConvention.Factory namingConvention) |
| Modifier and Type | Method and Description |
|---|---|
org.jclouds.compute.domain.NodeMetadata |
apply(ServerInZone serverInZone) |
protected org.jclouds.compute.domain.Hardware |
findHardwareForServerOrNull(ServerInZone serverInZone) |
<T extends org.jclouds.compute.domain.ComputeMetadata> |
findObjectOfTypeForServerOrNull(Set<? extends T> supply,
String type,
String objectId,
ZoneAndId serverInZone) |
protected org.jclouds.compute.domain.OperatingSystem |
findOperatingSystemForServerOrNull(ServerInZone serverInZone) |
@Named(value="jclouds.compute") protected org.jclouds.logging.Logger logger
protected Map<Server.Status,org.jclouds.compute.domain.NodeMetadata.Status> toPortableNodeStatus
protected final com.google.common.base.Supplier<Map<String,org.jclouds.domain.Location>> locationIndex
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.compute.domain.Hardware>> hardwares
protected final org.jclouds.compute.functions.GroupNamingConvention nodeNamingConvention
public static final com.google.common.base.Predicate<String> isInet4Address
@Inject public ServerInZoneToNodeMetadata(Map<Server.Status,org.jclouds.compute.domain.NodeMetadata.Status> toPortableNodeStatus, com.google.common.base.Supplier<Map<String,org.jclouds.domain.Location>> locationIndex, com.google.common.base.Supplier<Set<? extends org.jclouds.compute.domain.Image>> images, com.google.common.base.Supplier<Set<? extends org.jclouds.compute.domain.Hardware>> hardwares, org.jclouds.compute.functions.GroupNamingConvention.Factory namingConvention)
public org.jclouds.compute.domain.NodeMetadata apply(ServerInZone serverInZone)
apply in interface com.google.common.base.Function<ServerInZone,org.jclouds.compute.domain.NodeMetadata>protected org.jclouds.compute.domain.Hardware findHardwareForServerOrNull(ServerInZone serverInZone)
protected org.jclouds.compute.domain.OperatingSystem findOperatingSystemForServerOrNull(ServerInZone serverInZone)
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.