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