Class DeviceToNodeMetadata
- java.lang.Object
-
- org.jclouds.packet.compute.functions.DeviceToNodeMetadata
-
- All Implemented Interfaces:
com.google.common.base.Function<Device,NodeMetadata>
,Function<Device,NodeMetadata>
@Singleton public class DeviceToNodeMetadata extends Object implements com.google.common.base.Function<Device,NodeMetadata>
Transforms anDevice
to the jclouds portable model.
-
-
Field Detail
-
logger
@Named("jclouds.compute") protected Logger logger
-
-
Method Detail
-
apply
public NodeMetadata apply(Device input)
- Specified by:
apply
in interfacecom.google.common.base.Function<Device,NodeMetadata>
- Specified by:
apply
in interfaceFunction<Device,NodeMetadata>
-
-