@Singleton public class ServerInfoToNodeMetadata extends Object implements com.google.common.base.Function<ServerInfo,NodeMetadata>
Constructor and Description |
---|
ServerInfoToNodeMetadata(ServerDriveToVolume serverDriveToVolume,
NICToAddress nicToAddress,
Map<ServerStatus,NodeMetadata.Status> serverStatusToNodeStatus,
GroupNamingConvention.Factory groupNamingConvention,
Map<String,Credentials> credentialStore,
JustProvider locations,
CloudSigma2Api api) |
Modifier and Type | Method and Description |
---|---|
NodeMetadata |
apply(ServerInfo serverInfo) |
@Inject public ServerInfoToNodeMetadata(ServerDriveToVolume serverDriveToVolume, NICToAddress nicToAddress, Map<ServerStatus,NodeMetadata.Status> serverStatusToNodeStatus, GroupNamingConvention.Factory groupNamingConvention, Map<String,Credentials> credentialStore, JustProvider locations, CloudSigma2Api api)
public NodeMetadata apply(ServerInfo serverInfo)
apply
in interface com.google.common.base.Function<ServerInfo,NodeMetadata>
Copyright © 2009-2018 The Apache Software Foundation. All Rights Reserved.