Uses of Class
org.openhab.core.thing.binding.builder.ThingBuilder
Packages that use ThingBuilder
-
Uses of ThingBuilder in org.openhab.core.thing.binding
Methods in org.openhab.core.thing.binding that return ThingBuilderModifier and TypeMethodDescriptionprotected ThingBuilderBaseThingHandler.editThing()Creates a thing builder, which allows to modify the thing. -
Uses of ThingBuilder in org.openhab.core.thing.binding.builder
Subclasses of ThingBuilder in org.openhab.core.thing.binding.builderModifier and TypeClassDescriptionclassThis class allows the easy construction of aBridgeinstance using the builder pattern.Methods in org.openhab.core.thing.binding.builder that return ThingBuilderModifier and TypeMethodDescriptionstatic ThingBuilderCreate a new thingThingBuilderfor a copy of the given thingstatic ThingBuilderThingBuilder.create(ThingTypeUID thingTypeUID, String thingId) Create a newThingBuilderstatic ThingBuilderThingBuilder.create(ThingTypeUID thingTypeUID, ThingUID thingUID) Create a newThingBuilderThingBuilder.withBridge(@Nullable ThingUID bridgeUID) Set the bridge for this thingThingBuilder.withChannel(Channel channel) Adds the given channel to the thingThingBuilder.withChannels(List<Channel> channels) Replaces all channels of this thing with the given channelsThingBuilder.withChannels(Channel... channels) Replaces all channels of this thing with the given channelsThingBuilder.withConfiguration(Configuration configuration) Set (or replace) the configuration of the thingSets thelabelfor the thingThingBuilder.withLocation(@Nullable String location) Set the location for this thingThingBuilder.withoutChannel(ChannelUID channelUID) Removes the channel with the given UID from the thingThingBuilder.withoutChannels(List<Channel> channels) Removes the given channels from the thingThingBuilder.withoutChannels(Channel... channels) Removes the given channels from the thingThingBuilder.withProperties(Map<String, String> properties) Set/replace the properties for this thingThingBuilder.withProperty(String key, String value) Set / replace a single property for this thingThingBuilder.withSemanticEquipmentTag(@Nullable String semanticEquipmentTag) Set the semantic (equipment) tag for this thingThingBuilder.withSemanticEquipmentTag(SemanticTag semanticEquipmentTag) Set the semantic (equipment) tag for this thing