@Singleton public class DropletToNodeMetadata extends Object implements com.google.common.base.Function<Droplet,NodeMetadata>
Droplet
to the jclouds portable model.Modifier and Type | Method and Description |
---|---|
NodeMetadata |
apply(Droplet input) |
protected com.google.common.base.Optional<? extends Image> |
findImage(Image image,
String region) |
protected Hardware |
getHardware(String slug) |
protected Location |
getLocation(Region region) |
@Named(value="jclouds.compute") protected Logger logger
public NodeMetadata apply(Droplet input)
apply
in interface com.google.common.base.Function<Droplet,NodeMetadata>
protected com.google.common.base.Optional<? extends Image> findImage(Image image, String region)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.