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 anDeviceto the jclouds portable model.
-
-
Field Detail
-
logger
@Named("jclouds.compute") protected Logger logger
-
-
Method Detail
-
apply
public NodeMetadata apply(Device input)
- Specified by:
applyin interfacecom.google.common.base.Function<Device,NodeMetadata>- Specified by:
applyin interfaceFunction<Device,NodeMetadata>
-
-