org.jclouds.smartos.compute.functions
Class DatacenterToLocation
java.lang.Object
org.jclouds.smartos.compute.functions.DatacenterToLocation
- All Implemented Interfaces:
- com.google.common.base.Function<SmartOSHostController,org.jclouds.domain.Location>
@Singleton
public class DatacenterToLocation
- extends Object
- implements com.google.common.base.Function<SmartOSHostController,org.jclouds.domain.Location>
- Author:
- Nigel Magnay
|
Constructor Summary |
DatacenterToLocation(javax.inject.Provider<com.google.common.base.Supplier<org.jclouds.domain.Location>> provider)
|
| 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(javax.inject.Provider<com.google.common.base.Supplier<org.jclouds.domain.Location>> provider)
apply
public org.jclouds.domain.Location apply(SmartOSHostController from)
- Specified by:
apply in interface com.google.common.base.Function<SmartOSHostController,org.jclouds.domain.Location>
Copyright © 2009-2012 jclouds. All Rights Reserved.