@Singleton public class MapToServerInfo extends Object implements com.google.common.base.Function<Map<String,String>,ServerInfo>
Constructor and 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) |
public ServerInfo apply(Map<String,String> from)
apply
in interface com.google.common.base.Function<Map<String,String>,ServerInfo>
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.