Open hanneshofmann opened 6 years ago
Please also note that the corresponding properties are exposed via the Thing REST resource. According to this comment (https://github.com/eclipse/smarthome/pull/5903#issuecomment-405193803) they are not used in PaperUI but may be used by other clients using the firmware update mechanism (currently known: DT).
Described in #5642 and merged with the PR #5903, the Firmware API has been extended to define a so called
FirmwareRestriction
function which is further used to check the installation applicability of a firmware for a given thing. By using these restriction functions, the API methodsFirmware#isModelRestricted
andFirmware#getPrerequisiteVersion
(and consequently the builder methods) are deprecated since they can easily replaced with the newly introducedFirmwareRestriction
function.Besides removing the obsolete API methods, @dstivanov pointed out, that we could also think about moving the
org.eclipse.smarthome.core.thing.internal.firmware.FirmwareImpl.Version
to an exported package (e.g.org.eclipse.smarthome.core.thing.binding.firmware
).