org.jclouds.elasticstack.functions
Class MapToServerInfo

java.lang.Object
  extended by org.jclouds.elasticstack.functions.MapToServerInfo
All Implemented Interfaces:
com.google.common.base.Function<Map<String,String>,ServerInfo>

@Singleton
public class MapToServerInfo
extends Object
implements com.google.common.base.Function<Map<String,String>,ServerInfo>

Author:
Adrian Cole

Constructor Summary
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 Summary
 ServerInfo apply(Map<String,String> from)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.google.common.base.Function
equals
 

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 interface com.google.common.base.Function<Map<String,String>,ServerInfo>


Copyright © 2009-2011 jclouds. All Rights Reserved.