Class DropletToNodeMetadata
java.lang.Object
org.jclouds.digitalocean2.compute.functions.DropletToNodeMetadata
- All Implemented Interfaces:
com.google.common.base.Function<Droplet,,NodeMetadata> Function<Droplet,NodeMetadata>
@Singleton
public class DropletToNodeMetadata
extends Object
implements com.google.common.base.Function<Droplet,NodeMetadata>
Transforms an
Droplet to the jclouds portable model.-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionprotected com.google.common.base.Optional<? extends Image> protected HardwaregetHardware(String slug) protected LocationgetLocation(Region region) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.common.base.Function
equals
-
Field Details
-
logger
-
-
Method Details
-
apply
- Specified by:
applyin interfacecom.google.common.base.Function<Droplet,NodeMetadata> - Specified by:
applyin interfaceFunction<Droplet,NodeMetadata>
-
findImage
-
getHardware
-
getLocation
-