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 Hardware
getHardware
(String slug) protected Location
getLocation
(Region region) 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
-
Field Details
-
logger
-
-
Method Details
-
apply
- Specified by:
apply
in interfacecom.google.common.base.Function<Droplet,
NodeMetadata> - Specified by:
apply
in interfaceFunction<Droplet,
NodeMetadata>
-
findImage
-
getHardware
-
getLocation
-