Uses of Class
org.openhab.core.thing.binding.firmware.FirmwareBuilder
-
Uses of FirmwareBuilder in org.openhab.core.thing.binding.firmware
Modifier and TypeMethodDescriptionstatic FirmwareBuilder
FirmwareBuilder.create
(ThingTypeUID thingTypeUID, String firmwareVersion) FirmwareBuilder.withChangelog
(@Nullable String changelog) Adds the changelog to the builder.FirmwareBuilder.withDescription
(@Nullable String description) Adds the description to the builder.FirmwareBuilder.withFirmwareRestriction
(FirmwareRestriction firmwareRestriction) An additional restriction can be applied on the firmware by providing aFirmwareRestriction
function.FirmwareBuilder.withInputStream
(@Nullable InputStream inputStream) Adds the input stream for the binary content to the builder.FirmwareBuilder.withMd5Hash
(@Nullable String md5Hash) Adds the given md5 hash value to the builder.Adds the model to the builder.FirmwareBuilder.withModelRestricted
(boolean modelRestricted) Sets the modelRestricted flag in the builder.FirmwareBuilder.withOnlineChangelog
(@Nullable URL onlineChangelog) Adds the online changelog to the builder.FirmwareBuilder.withPrerequisiteVersion
(@Nullable String prerequisiteVersion) Adds the prerequisite version to the builder.FirmwareBuilder.withProperties
(Map<String, String> properties) Adds the properties to the builder.FirmwareBuilder.withVendor
(@Nullable String vendor) Adds the vendor to the builder.