Class DatacenterToLocation
- java.lang.Object
-
- org.jclouds.servermanager.compute.functions.DatacenterToLocation
-
- All Implemented Interfaces:
com.google.common.base.Function<Datacenter,Location>
,Function<Datacenter,Location>
@Singleton public class DatacenterToLocation extends Object implements com.google.common.base.Function<Datacenter,Location>
-
-
Constructor Summary
Constructors Constructor Description DatacenterToLocation(javax.inject.Provider<com.google.common.base.Supplier<Location>> provider)
-
-
-
Constructor Detail
-
DatacenterToLocation
@Inject public DatacenterToLocation(javax.inject.Provider<com.google.common.base.Supplier<Location>> provider)
-
-
Method Detail
-
apply
public Location apply(Datacenter from)
- Specified by:
apply
in interfacecom.google.common.base.Function<Datacenter,Location>
- Specified by:
apply
in interfaceFunction<Datacenter,Location>
-
-