org.jclouds.cloudstack.compute.functions
Class ZoneToLocation

java.lang.Object
  extended by org.jclouds.cloudstack.compute.functions.ZoneToLocation
All Implemented Interfaces:
com.google.common.base.Function<Zone,Location>

public class ZoneToLocation
extends Object
implements com.google.common.base.Function<Zone,Location>

Converts an Zone into a Location.


Constructor Summary
ZoneToLocation(JustProvider provider)
           
 
Method Summary
 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
 

Constructor Detail

ZoneToLocation

@Inject
public ZoneToLocation(JustProvider provider)
Method Detail

apply

public Location apply(Zone zone)
Specified by:
apply in interface com.google.common.base.Function<Zone,Location>


Copyright © 2009-2012 jclouds. All Rights Reserved.