Uses of Class
org.openhab.core.config.discovery.DiscoveryResultBuilder
Packages that use DiscoveryResultBuilder
-
Uses of DiscoveryResultBuilder in org.openhab.core.config.discovery
Methods in org.openhab.core.config.discovery that return DiscoveryResultBuilderModifier and TypeMethodDescriptionstatic DiscoveryResultBuilderCreates a new builder for a given thing UID.DiscoveryResultBuilder.withBridge(@Nullable ThingUID bridgeUID) Sets the bridgeUID of the desired result.Sets the label of the desired result.DiscoveryResultBuilder.withProperties(@Nullable Map<String, Object> properties) Adds properties to the desired result.DiscoveryResultBuilder.withProperty(String key, Object value) Adds a property to the desired result.DiscoveryResultBuilder.withRepresentationProperty(@Nullable String representationProperty) Sets the representation Property of the desired result.DiscoveryResultBuilder.withThingType(@Nullable ThingTypeUID thingTypeUID) Explicitly sets the thing type.DiscoveryResultBuilder.withTTL(long ttl) Sets the time to live for the result in seconds.