Class DefaultDeviceDescription

    • Constructor Detail

      • DefaultDeviceDescription

        public DefaultDeviceDescription​(URI uri,
                                        Device.Type type,
                                        String manufacturer,
                                        String hwVersion,
                                        String swVersion,
                                        String serialNumber,
                                        ChassisId chassis,
                                        SparseAnnotations... annotations)
        Creates a device description using the supplied information.
        Parameters:
        uri - device URI
        type - device type
        manufacturer - device manufacturer
        hwVersion - device HW version
        swVersion - device SW version
        serialNumber - device serial number
        chassis - chassis id
        annotations - optional key/value annotations map
      • DefaultDeviceDescription

        public DefaultDeviceDescription​(URI uri,
                                        Device.Type type,
                                        String manufacturer,
                                        String hwVersion,
                                        String swVersion,
                                        String serialNumber,
                                        ChassisId chassis,
                                        boolean defaultAvailable,
                                        SparseAnnotations... annotations)
        Creates a device description using the supplied information.
        Parameters:
        uri - device URI
        type - device type
        manufacturer - device manufacturer
        hwVersion - device HW version
        swVersion - device SW version
        serialNumber - device serial number
        chassis - chassis id
        defaultAvailable - optional whether device is by default available
        annotations - optional key/value annotations map
      • DefaultDeviceDescription

        public DefaultDeviceDescription​(DeviceDescription base,
                                        SparseAnnotations... annotations)
        Creates a device description using the supplied information.
        Parameters:
        base - DeviceDescription to basic information
        annotations - Annotations to use.
      • DefaultDeviceDescription

        public DefaultDeviceDescription​(DeviceDescription base,
                                        Device.Type type,
                                        SparseAnnotations... annotations)
        Creates a device description using the supplied information.
        Parameters:
        base - DeviceDescription to basic information (except for type)
        type - device type
        annotations - Annotations to use.
      • DefaultDeviceDescription

        public DefaultDeviceDescription​(DeviceDescription base,
                                        boolean defaultAvailable,
                                        SparseAnnotations... annotations)
        Creates a device description using the supplied information.
        Parameters:
        base - DeviceDescription to basic information (except for defaultAvailable)
        defaultAvailable - whether device should be made available by default
        annotations - Annotations to use.