Class DropletStatusToStatus
- java.lang.Object
-
- org.jclouds.digitalocean2.compute.functions.DropletStatusToStatus
-
- All Implemented Interfaces:
com.google.common.base.Function<Droplet.Status,NodeMetadata.Status>
,Function<Droplet.Status,NodeMetadata.Status>
@Singleton public class DropletStatusToStatus extends Object implements com.google.common.base.Function<Droplet.Status,NodeMetadata.Status>
Transforms anNodeMetadata.Status
to the jclouds portable model.
-
-
Constructor Summary
Constructors Constructor Description DropletStatusToStatus()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NodeMetadata.Status
apply(Droplet.Status input)
-
-
-
Method Detail
-
apply
public NodeMetadata.Status apply(Droplet.Status input)
- Specified by:
apply
in interfacecom.google.common.base.Function<Droplet.Status,NodeMetadata.Status>
- Specified by:
apply
in interfaceFunction<Droplet.Status,NodeMetadata.Status>
-
-