org.jclouds.digitalocean.compute.functions
Class RegionToLocation

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

@Singleton
public class RegionToLocation
extends Object
implements com.google.common.base.Function<Region,org.jclouds.domain.Location>

Transforms an Region to the jclouds portable model.

Author:
Sergi Castro, Ignasi Barrera

Method Summary
 org.jclouds.domain.Location apply(Region input)
           
 
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
 

Method Detail

apply

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


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