@Singleton public class SliceToNodeMetadata extends Object implements com.google.common.base.Function<Slice,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<Location> |
location |
protected Logger |
logger |
protected GroupNamingConvention |
nodeNamingConvention |
protected Map<Slice.Status,NodeMetadata.Status> |
sliceToNodeStatus |
Modifier and Type | Method and Description |
---|---|
NodeMetadata |
apply(Slice from) |
protected Hardware |
parseHardware(Slice from) |
protected OperatingSystem |
parseOperatingSystem(Slice from) |
protected final com.google.common.base.Supplier<Location> location
protected final Map<Slice.Status,NodeMetadata.Status> sliceToNodeStatus
protected final GroupNamingConvention nodeNamingConvention
protected Logger logger
public NodeMetadata apply(Slice from)
apply
in interface com.google.common.base.Function<Slice,NodeMetadata>
protected OperatingSystem parseOperatingSystem(Slice from)
Copyright © 2009-2013 jclouds. All Rights Reserved.