org.jclouds.cloudstack.compute.functions
Class ZoneToLocation
java.lang.Object
org.jclouds.cloudstack.compute.functions.ZoneToLocation
- All Implemented Interfaces:
- com.google.common.base.Function<Zone,org.jclouds.domain.Location>
public class ZoneToLocation
- extends Object
- implements com.google.common.base.Function<Zone,org.jclouds.domain.Location>
Converts an Zone into a Location.
|
Constructor Summary |
ZoneToLocation(org.jclouds.location.suppliers.all.JustProvider provider)
|
|
Method Summary |
org.jclouds.domain.Location |
apply(Zone zone)
|
| 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 |
ZoneToLocation
@Inject
public ZoneToLocation(org.jclouds.location.suppliers.all.JustProvider provider)
apply
public org.jclouds.domain.Location apply(Zone zone)
- Specified by:
apply in interface com.google.common.base.Function<Zone,org.jclouds.domain.Location>
Copyright © 2009-2013 jclouds. All Rights Reserved.