Class MapToServerInfo
- java.lang.Object
-
- org.jclouds.elasticstack.functions.MapToServerInfo
-
- All Implemented Interfaces:
com.google.common.base.Function<Map<String,String>,ServerInfo>
,Function<Map<String,String>,ServerInfo>
@Singleton public class MapToServerInfo extends Object implements com.google.common.base.Function<Map<String,String>,ServerInfo>
-
-
Constructor Summary
Constructors Constructor Description MapToServerInfo(com.google.common.base.Function<Map<String,String>,Map<String,? extends Device>> mapToDevices, com.google.common.base.Function<Map<String,String>,ServerMetrics> mapToMetrics, com.google.common.base.Function<Map<String,String>,List<NIC>> mapToNICs)
-
-
-
Constructor Detail
-
MapToServerInfo
@Inject public MapToServerInfo(com.google.common.base.Function<Map<String,String>,Map<String,? extends Device>> mapToDevices, com.google.common.base.Function<Map<String,String>,ServerMetrics> mapToMetrics, com.google.common.base.Function<Map<String,String>,List<NIC>> mapToNICs)
-
-
Method Detail
-
apply
public ServerInfo apply(Map<String,String> from)
- Specified by:
apply
in interfacecom.google.common.base.Function<Map<String,String>,ServerInfo>
- Specified by:
apply
in interfaceFunction<Map<String,String>,ServerInfo>
-
-