public interface DeviceDescriptionDiscovery extends HandlerBehaviour
| Modifier and Type | Method and Description | 
|---|---|
DeviceDescription | 
discoverDeviceDetails()
Returns a device description appropriately annotated to support
 downstream model extension via projections of the resulting device,
 as in the following example. 
 | 
List<PortDescription> | 
discoverPortDetails()
Returns a list of port descriptions appropriately annotated to support
 downstream model extension via projections of their parent device,
 as in the following example. 
 | 
handler, setHandlerDeviceDescription discoverDeviceDetails()
MicrowaveDevice device = deviceService.get(id).as(MicrowaveDevice.class);
List<PortDescription> discoverPortDetails()
MicrowaveDevice device = deviceService.get(id).as(MicrowaveDevice.class); List<MicrowavePort> ports = device.microwavePorts(deviceService.getPorts(id));