Package com.tccc.kos.commons.util
Interface DeviceView
public interface DeviceView
JsonView class to expose data for the over arching view of the entire
device. The device view is not a core requirement of kOS, but a useful
convention which allows external systems to get an initial view of the
device using a single call via the
HandleService
. Core kOS
objects are annotated with this view to provide a reasonable default
view of a device. If the default implementation is not sufficient,
custom class serializers can be used in conjunction with a custom
ObjectMapper
instance to return the desired data.- Since:
- 1.0
- Version:
- 2023-01-20