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 aChannelBuilder
which is preconfigured with values from the givenChannelType
.ThingHandlerCallback.editChannel
(Thing thing, ChannelUID channelUID) Creates aChannelBuilder
which is preconfigured with values from the givenChannel
and 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 ofChannelBuilder
s 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 ChannelBuilder
Creates aChannelBuilder
from the givenChannel
.static ChannelBuilder
ChannelBuilder.create
(ChannelUID channelUID) Creates aChannelBuilder
for the givenChannelUID
.static ChannelBuilder
ChannelBuilder.create
(ChannelUID channelUID, @Nullable String acceptedItemType) Creates aChannelBuilder
for the givenChannelUID
and item type.ChannelBuilder.withAcceptedItemType
(@Nullable String acceptedItemType) Sets the accepted item type of theChannel
to be build.ChannelBuilder.withAutoUpdatePolicy
(@Nullable AutoUpdatePolicy policy) Sets theAutoUpdatePolicy
to theChannel
to be build.ChannelBuilder.withConfiguration
(Configuration configuration) Appends aConfiguration
to theChannel
to be build.ChannelBuilder.withDefaultTags
(Set<String> defaultTags) Appends default tags to theChannel
to be build.ChannelBuilder.withDescription
(String description) Sets the channel description.ChannelBuilder.withKind
(ChannelKind kind) Sets theChannelKind
of theChannel
to be build.Sets the channel label.ChannelBuilder.withProperties
(Map<String, String> properties) Adds properties to theChannel
.ChannelBuilder.withType
(@Nullable ChannelTypeUID channelTypeUID)