Uses of Class
org.openhab.core.thing.binding.builder.ChannelBuilder
Packages that use ChannelBuilder
-
Uses of ChannelBuilder in org.openhab.core.thing.binding
Methods in org.openhab.core.thing.binding that return ChannelBuilderModifier and TypeMethodDescriptionThingHandlerCallback.createChannelBuilder(ChannelUID channelUID, ChannelTypeUID channelTypeUID) Creates aChannelBuilderwhich is preconfigured with values from the givenChannelType.ThingHandlerCallback.editChannel(Thing thing, ChannelUID channelUID) Creates aChannelBuilderwhich is preconfigured with values from the givenChanneland allows to modify it.Methods in org.openhab.core.thing.binding that return types with arguments of type ChannelBuilderModifier and TypeMethodDescriptionThingHandlerCallback.createChannelBuilders(ChannelGroupUID channelGroupUID, ChannelGroupTypeUID channelGroupTypeUID) Creates a list ofChannelBuilders which are preconfigured with values from the givenChannelGroupType. -
Uses of ChannelBuilder in org.openhab.core.thing.binding.builder
Methods in org.openhab.core.thing.binding.builder that return ChannelBuilderModifier and TypeMethodDescriptionstatic ChannelBuilderCreates aChannelBuilderfrom the givenChannel.static ChannelBuilderChannelBuilder.create(ChannelUID channelUID) Creates aChannelBuilderfor the givenChannelUID.static ChannelBuilderChannelBuilder.create(ChannelUID channelUID, @Nullable String acceptedItemType) Creates aChannelBuilderfor the givenChannelUIDand item type.ChannelBuilder.withAcceptedItemType(@Nullable String acceptedItemType) Sets the accepted item type of theChannelto be build.ChannelBuilder.withAutoUpdatePolicy(@Nullable AutoUpdatePolicy policy) Sets theAutoUpdatePolicyto theChannelto be build.ChannelBuilder.withConfiguration(Configuration configuration) Appends aConfigurationto theChannelto be build.ChannelBuilder.withDefaultTags(Set<String> defaultTags) Appends default tags to theChannelto be build.ChannelBuilder.withDescription(String description) Sets the channel description.ChannelBuilder.withKind(ChannelKind kind) Sets theChannelKindof theChannelto be build.Sets the channel label.ChannelBuilder.withProperties(Map<String, String> properties) Adds properties to theChannel.ChannelBuilder.withType(@Nullable ChannelTypeUID channelTypeUID)