Class ServerDetailsToNodeMetadata
- java.lang.Object
 - 
- org.jclouds.glesys.compute.functions.ServerDetailsToNodeMetadata
 
 
- 
- All Implemented Interfaces:
 com.google.common.base.Function<ServerDetails,NodeMetadata>,Function<ServerDetails,NodeMetadata>
@Singleton public class ServerDetailsToNodeMetadata extends Object implements com.google.common.base.Function<ServerDetails,NodeMetadata>
 
- 
- 
Field Summary
Fields Modifier and Type Field Description protected com.google.common.base.Supplier<Set<? extends Image>>imagesprotected com.google.common.base.Supplier<Set<? extends Location>>locationsprotected Loggerloggerprotected GroupNamingConventionnodeNamingConventionstatic Map<Server.State,NodeMetadata.Status>serverStateToNodeStatus 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NodeMetadataapply(ServerDetails from)protected OperatingSystemparseOperatingSystem(ServerDetails from) 
 - 
 
- 
- 
Field Detail
- 
logger
@Named("jclouds.compute") protected Logger logger 
- 
serverStateToNodeStatus
public static final Map<Server.State,NodeMetadata.Status> serverStateToNodeStatus
 
- 
nodeNamingConvention
protected final GroupNamingConvention nodeNamingConvention
 
 - 
 
- 
Method Detail
- 
apply
public NodeMetadata apply(ServerDetails from)
- Specified by:
 applyin interfacecom.google.common.base.Function<ServerDetails,NodeMetadata>- Specified by:
 applyin interfaceFunction<ServerDetails,NodeMetadata>
 
- 
parseOperatingSystem
protected OperatingSystem parseOperatingSystem(ServerDetails from)
 
 - 
 
 -