org.jclouds.softlayer.compute.functions
Class DatacenterToLocation
java.lang.Object
org.jclouds.softlayer.compute.functions.DatacenterToLocation
- All Implemented Interfaces:
- com.google.common.base.Function<Datacenter,Location>
public class DatacenterToLocation
- extends Object
- implements com.google.common.base.Function<Datacenter,Location>
Converts an Datacenter into a Location.
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 |
DatacenterToLocation
@Inject
public DatacenterToLocation(JustProvider provider)
apply
public Location apply(Datacenter datacenter)
- Specified by:
apply
in interface com.google.common.base.Function<Datacenter,Location>
Copyright © 2009-2011 jclouds. All Rights Reserved.