org.jclouds.glesys.compute.functions
Class DatacenterToLocation

java.lang.Object
  extended by org.jclouds.glesys.compute.functions.DatacenterToLocation
All Implemented Interfaces:
com.google.common.base.Function<String,org.jclouds.domain.Location>

public class DatacenterToLocation
extends Object
implements com.google.common.base.Function<String,org.jclouds.domain.Location>

Converts an ServerSpec into a Location.


Constructor Summary
DatacenterToLocation(org.jclouds.location.suppliers.all.JustProvider provider)
           
 
Method Summary
 org.jclouds.domain.Location apply(String datacenter)
           
 
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

DatacenterToLocation

@Inject
public DatacenterToLocation(org.jclouds.location.suppliers.all.JustProvider provider)
Method Detail

apply

public org.jclouds.domain.Location apply(String datacenter)
Specified by:
apply in interface com.google.common.base.Function<String,org.jclouds.domain.Location>


Copyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.