@Singleton public class VServerMetadataToNodeMetadata extends Object implements com.google.common.base.Function<VServerMetadata,NodeMetadata>
Modifier and Type | Field and Description |
---|---|
protected com.google.common.base.Supplier<Set<? extends Hardware>> |
hardwares |
protected com.google.common.base.Supplier<Set<? extends Image>> |
images |
protected com.google.common.base.Supplier<Set<? extends Location>> |
locations |
protected Logger |
logger |
protected GroupNamingConvention |
nodeNamingConvention |
static Map<VServerStatus,NodeMetadata.Status> |
vServerToStatus |
Modifier and Type | Method and Description |
---|---|
NodeMetadata |
apply(VServerMetadata from) |
protected Hardware |
parseHardware(String from) |
protected Image |
parseImage(VServer from) |
protected Location |
parseLocation(VServerWithVNICs from) |
public static final Map<VServerStatus,NodeMetadata.Status> vServerToStatus
@Named(value="jclouds.compute") protected Logger logger
protected final GroupNamingConvention nodeNamingConvention
protected Location parseLocation(VServerWithVNICs from)
public NodeMetadata apply(VServerMetadata from)
apply
in interface com.google.common.base.Function<VServerMetadata,NodeMetadata>
Copyright © 2009-2013 jclouds. All Rights Reserved.