Uses of Class
org.openhab.core.thing.ChannelUID
Package
Description
-
Uses of ChannelUID in org.openhab.core.magic.binding.handler
Modifier and TypeMethodDescriptionvoid
MagicChattyThingHandler.channelLinked
(ChannelUID channelUID) void
MagicChattyThingHandler.channelUnlinked
(ChannelUID channelUID) void
MagicActionModuleThingHandler.handleCommand
(ChannelUID channelUID, Command command) void
MagicBridgedThingHandler.handleCommand
(ChannelUID channelUID, Command command) void
MagicBridgeHandler.handleCommand
(ChannelUID channelUID, Command command) void
MagicButtonHandler.handleCommand
(ChannelUID channelUID, Command command) void
MagicChattyThingHandler.handleCommand
(ChannelUID channelUID, Command command) void
MagicColorLightHandler.handleCommand
(ChannelUID channelUID, Command command) void
MagicConfigurableThingHandler.handleCommand
(ChannelUID channelUID, Command command) void
MagicContactHandler.handleCommand
(ChannelUID channelUID, Command command) void
MagicDelayedOnlineHandler.handleCommand
(ChannelUID channelUID, Command command) void
MagicDimmableLightHandler.handleCommand
(ChannelUID channelUID, Command command) void
MagicDynamicStateDescriptionThingHandler.handleCommand
(ChannelUID channelUID, Command command) void
MagicExtensibleThingHandler.handleCommand
(ChannelUID channelUID, Command command) void
MagicFirmwareUpdateThingHandler.handleCommand
(ChannelUID channelUID, Command command) void
MagicImageHandler.handleCommand
(ChannelUID channelUID, Command command) void
MagicLocationThingHandler.handleCommand
(ChannelUID channelUID, Command command) void
MagicOnlineOfflineHandler.handleCommand
(ChannelUID channelUID, Command command) void
MagicOnOffLightHandler.handleCommand
(ChannelUID channelUID, Command command) void
MagicPlayerHandler.handleCommand
(ChannelUID channelUID, Command command) void
MagicRollershutterHandler.handleCommand
(ChannelUID channelUID, Command command) void
MagicThermostatThingHandler.handleCommand
(ChannelUID channelUID, Command command) void
MagicTimeSeriesHandler.handleCommand
(ChannelUID channelUID, Command command) protected void
MagicChattyThingHandler.updateState
(ChannelUID channelUID, State state) -
Uses of ChannelUID in org.openhab.core.thing
Modifier and TypeMethodDescription@Nullable Channel
Thing.getChannel
(ChannelUID channelUID) Gets the channel for the given UID or null if no channel with the UID exists.@Nullable Channel
ThingRegistry.getChannel
(ChannelUID channelUID) Returns a channel for the given channel UID or null if no channel was foundModifierConstructorDescriptionprotected
Channel
(ChannelUID uid, @Nullable ChannelTypeUID channelTypeUID, @Nullable String acceptedItemType, ChannelKind kind, @Nullable Configuration configuration, Set<String> defaultTags, @Nullable Map<String, String> properties, @Nullable String label, @Nullable String description, @Nullable AutoUpdatePolicy autoUpdatePolicy) Use theChannelBuilder
for building channels. -
Uses of ChannelUID in org.openhab.core.thing.binding
Modifier and TypeFieldDescriptionprotected final Map<ChannelUID,
List<CommandOption>> BaseDynamicCommandDescriptionProvider.channelOptionsMap
protected final Map<ChannelUID,
List<StateOption>> BaseDynamicStateDescriptionProvider.channelOptionsMap
protected final Map<ChannelUID,
String> BaseDynamicStateDescriptionProvider.channelPatternMap
Modifier and TypeMethodDescriptionvoid
BaseThingHandler.channelLinked
(ChannelUID channelUID) void
ThingHandler.channelLinked
(ChannelUID channelUID) Notifies the handler that a channel was linked.void
ThingHandlerCallback.channelTriggered
(Thing thing, ChannelUID channelUID, String event) Informs the framework that a channel has been triggered.void
BaseThingHandler.channelUnlinked
(ChannelUID channelUID) void
ThingHandler.channelUnlinked
(ChannelUID channelUID) Notifies the handler that a channel was unlinked.ThingHandlerCallback.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.void
ThingHandler.handleCommand
(ChannelUID channelUID, Command command) Handles a command for a given channel.boolean
ThingHandlerCallback.isChannelLinked
(ChannelUID channelUID) Returns whether at least one item is linked for the given UID of the channel.protected boolean
BaseThingHandler.isLinked
(ChannelUID channelUID) Returns whether at least one item is linked for the given UID of the channel.protected void
BaseThingHandler.postCommand
(ChannelUID channelUID, Command command) Sends a command for a channel of the thing.void
ThingHandlerCallback.postCommand
(ChannelUID channelUID, Command command) Informs about a command, which is sent from the channel.protected void
BaseThingHandler.sendTimeSeries
(ChannelUID channelUID, TimeSeries timeSeries) Send a time series to the channel.void
ThingHandlerCallback.sendTimeSeries
(ChannelUID channelUID, TimeSeries timeSeries) Informs about a time series, whcihs is send from the channel.void
BaseDynamicCommandDescriptionProvider.setCommandOptions
(ChannelUID channelUID, List<CommandOption> options) For a givenChannelUID
, set aList
ofCommandOption
s that should be used for the channel, instead of the one defined statically in theChannelType
.void
BaseDynamicStateDescriptionProvider.setStateOptions
(ChannelUID channelUID, List<StateOption> options) For a givenChannelUID
, set aList
ofStateOption
s that should be used for the channel, instead of the one defined statically in theChannelType
.void
BaseDynamicStateDescriptionProvider.setStatePattern
(ChannelUID channelUID, String pattern) For a givenChannelUID
, set a pattern that should be used for the channel, instead of the one defined statically in theChannelType
.void
ThingHandlerCallback.stateUpdated
(ChannelUID channelUID, State state) Informs about an updated state for a channel.protected void
BaseThingHandler.triggerChannel
(ChannelUID channelUID) Emits an event for the given channel.protected void
BaseThingHandler.triggerChannel
(ChannelUID channelUID, String event) Emits an event for the given channel.protected void
BaseThingHandler.updateState
(ChannelUID channelUID, State state) Updates the state of the thing. -
Uses of ChannelUID in org.openhab.core.thing.binding.builder
Modifier and TypeMethodDescriptionstatic 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.BridgeBuilder.withoutChannel
(ChannelUID channelUID) ThingBuilder.withoutChannel
(ChannelUID channelUID) Removes the channel with the given UID from the thing -
Uses of ChannelUID in org.openhab.core.thing.dto
ModifierConstructorDescriptionChannelDTO
(ChannelUID uid, String channelTypeUID, String itemType, ChannelKind kind, String label, String description, Map<String, String> properties, Configuration configuration, Set<String> defaultTags, AutoUpdatePolicy autoUpdatePolicy) -
Uses of ChannelUID in org.openhab.core.thing.events
Modifier and TypeMethodDescriptionChannelTriggeredEvent.getChannel()
ChannelDescriptionChangedEvent.getChannelUID()
Gets theChannelUID
.Modifier and TypeMethodDescriptionThingEventFactory.createChannelDescriptionChangedEvent
(ChannelUID channelUID, Set<String> linkedItemNames, StateDescriptionFragment stateDescription, @Nullable StateDescriptionFragment oldStateDescription) Creates aChannelDescriptionChangedEvent
for a changedStateDescription
.ThingEventFactory.createChannelDescriptionCommandOptionsChangedEvent
(ChannelUID channelUID, Set<String> linkedItemNames, List<CommandOption> options, @Nullable List<CommandOption> oldOptions) Creates aChannelDescriptionChangedEvent
for changeCommandOption
s.ThingEventFactory.createChannelDescriptionPatternChangedEvent
(ChannelUID channelUID, Set<String> linkedItemNames, String pattern, @Nullable String oldPattern) Creates aChannelDescriptionChangedEvent
for a changed pattern.ThingEventFactory.createChannelDescriptionStateOptionsChangedEvent
(ChannelUID channelUID, Set<String> linkedItemNames, List<StateOption> options, @Nullable List<StateOption> oldOptions) Creates aChannelDescriptionChangedEvent
for changedStateOption
s.static ChannelTriggeredEvent
ThingEventFactory.createTriggerEvent
(String event, ChannelUID channelUID) Creates aChannelTriggeredEvent
ModifierConstructorDescriptionprotected
ChannelDescriptionChangedEvent
(String topic, String payload, ChannelDescriptionChangedEvent.CommonChannelDescriptionField field, ChannelUID channelUID, Set<String> linkedItemNames, String value, @Nullable String oldValue) Creates a new instance.protected
ChannelTriggeredEvent
(String topic, String payload, @Nullable String source, String event, ChannelUID channel) Constructs a new thing trigger event. -
Uses of ChannelUID in org.openhab.core.thing.link
Modifier and TypeMethodDescriptionItemChannelLinkRegistry.getBoundChannels
(String itemName) Returns a set of bound channels for the given item name.ModifierConstructorDescriptionItemChannelLink
(String itemName, ChannelUID channelUID) ItemChannelLink
(String itemName, ChannelUID channelUID, Configuration configuration)