org.jclouds.digitalocean.compute.functions
Class DropletToNodeMetadata

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

@Singleton
public class DropletToNodeMetadata
extends Object
implements com.google.common.base.Function<Droplet,org.jclouds.compute.domain.NodeMetadata>

Transforms an Droplet to the jclouds portable model.

Author:
Sergi Castro, Ignasi Barrera

Method Summary
 org.jclouds.compute.domain.NodeMetadata apply(Droplet 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.compute.domain.NodeMetadata apply(Droplet input)
Specified by:
apply in interface com.google.common.base.Function<Droplet,org.jclouds.compute.domain.NodeMetadata>


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