org.jclouds.cloudsigma.functions
Class MapToServerInfo
java.lang.Object
org.jclouds.cloudsigma.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
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 |
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)
apply
public ServerInfo apply(Map<String,String> from)
- Specified by:
apply
in interface com.google.common.base.Function<Map<String,String>,ServerInfo>
Copyright © 2009-2012 jclouds. All Rights Reserved.