org.jclouds.digitalocean.compute.functions
Class SizeToHardware

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

@Singleton
public class SizeToHardware
extends Object
implements com.google.common.base.Function<Size,org.jclouds.compute.domain.Hardware>

Transforms an Size to the jclouds portable model.

Author:
Sergi Castro, Ignasi Barrera

Constructor Summary
SizeToHardware()
           
 
Method Summary
 org.jclouds.compute.domain.Hardware apply(Size 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
 

Constructor Detail

SizeToHardware

public SizeToHardware()
Method Detail

apply

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


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