Uses of Class
org.openhab.core.thing.binding.builder.ChannelBuilder
-
Uses of ChannelBuilder in org.openhab.core.thing.binding
Modifier 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.Modifier 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
Modifier 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)