Uses of Interface
org.openhab.core.thing.Thing
Package
Description
-
Uses of Thing in org.openhab.core.config.discovery.inbox
-
Uses of Thing in org.openhab.core.io.rest.core.thing
Modifier and TypeMethodDescriptionstatic EnrichedThingDTO
EnrichedThingDTOMapper.map
(Thing thing, ThingStatusInfo thingStatusInfo, FirmwareStatusDTO firmwareStatus, Map<String, Set<String>> linkedItemsMap, boolean editable) Maps thing into enriched thing data transfer object. -
Uses of Thing in org.openhab.core.magic.binding.handler
ModifierConstructorDescriptionMagicBridgedThingHandler
(Thing thing) MagicButtonHandler
(Thing thing) MagicChattyThingHandler
(Thing thing) MagicColorLightHandler
(Thing thing) MagicContactHandler
(Thing thing) MagicDelayedOnlineHandler
(Thing thing) MagicDimmableLightHandler
(Thing thing) MagicDynamicStateDescriptionThingHandler
(Thing thing, org.openhab.core.magic.binding.internal.MagicDynamicCommandDescriptionProvider commandDescriptionProvider, org.openhab.core.magic.binding.internal.MagicDynamicStateDescriptionProvider stateDescriptionProvider) MagicExtensibleThingHandler
(Thing thing) MagicImageHandler
(Thing thing) MagicLocationThingHandler
(Thing thing) MagicOnlineOfflineHandler
(Thing thing) MagicOnOffLightHandler
(Thing thing) MagicPlayerHandler
(Thing thing) MagicRollershutterHandler
(Thing thing) MagicThermostatThingHandler
(Thing thing) MagicTimeSeriesHandler
(Thing thing) -
Uses of Thing in org.openhab.core.thing
Modifier and TypeInterfaceDescriptioninterface
Modifier and TypeMethodDescription@Nullable Thing
ThingRegistry.createThingOfType
(ThingTypeUID thingTypeUID, @Nullable ThingUID thingUID, @Nullable ThingUID bridgeUID, @Nullable String label, Configuration configuration) Creates a thing based on the given configuration properties@Nullable Thing
ThingRegistry.forceRemove
(ThingUID thingUID) @Nullable Thing
Returns a thing for a given UID or null if no thing was found.@Nullable Thing
Gets the thing for the given UID or null if no thing with the UID exists.@Nullable Thing
protected @Nullable Thing
ManagedThingProvider.toElement
(String key, org.openhab.core.thing.internal.ThingStorageEntity persistableElement) Modifier and TypeMethodDescriptionvoid
ThingTypeMigrationService.migrateThingType
(Thing thing, ThingTypeUID thingTypeUID, @Nullable Configuration configuration) Changes the type of a givenThing
.protected org.openhab.core.thing.internal.ThingStorageEntity
ManagedThingProvider.toPersistableElement
(Thing element) -
Uses of Thing in org.openhab.core.thing.binding
Modifier and TypeMethodDescription@Nullable Thing
BaseThingHandlerFactory.createThing
(ThingTypeUID thingTypeUID, Configuration configuration, @Nullable ThingUID thingUID, @Nullable ThingUID bridgeUID) Creates a thing based on given thing type uid.protected @Nullable Thing
BaseThingHandlerFactory.createThing
(ThingTypeUID thingTypeUID, Configuration configuration, ThingUID thingUID) Creates a thing based on given thing type uid.static @Nullable Thing
ThingFactory.createThing
(ThingUID thingUID, Configuration configuration, @Nullable Map<String, String> properties, @Nullable ThingUID bridgeUID, ThingTypeUID thingTypeUID, List<ThingHandlerFactory> thingHandlerFactories) static Thing
ThingFactory.createThing
(ThingType thingType, ThingUID thingUID, Configuration configuration) Creates a thing based on given thing type.static Thing
ThingFactory.createThing
(ThingType thingType, ThingUID thingUID, Configuration configuration, @Nullable ThingUID bridgeUID) Creates a thing based on a given thing type.static Thing
ThingFactory.createThing
(ThingType thingType, ThingUID thingUID, Configuration configuration, @Nullable ThingUID bridgeUID, @Nullable ConfigDescriptionRegistry configDescriptionRegistry) Creates a thing based on a given thing type.@Nullable Thing
ThingHandlerFactory.createThing
(ThingTypeUID thingTypeUID, Configuration configuration, @Nullable ThingUID thingUID, @Nullable ThingUID bridgeUID) Creates a thing for given arguments.BaseThingHandler.getThing()
ThingHandler.getThing()
Returns theThing
, which belongs to the handler.Modifier and TypeMethodDescriptionvoid
ThingHandlerCallback.channelTriggered
(Thing thing, ChannelUID channelUID, String event) Informs the framework that a channel has been triggered.void
BaseBridgeHandler.childHandlerDisposed
(ThingHandler childHandler, Thing childThing) void
BridgeHandler.childHandlerDisposed
(ThingHandler childHandler, Thing childThing) Informs the bridge handler that a child handler has been disposed.void
BaseBridgeHandler.childHandlerInitialized
(ThingHandler childHandler, Thing childThing) void
BridgeHandler.childHandlerInitialized
(ThingHandler childHandler, Thing childThing) Informs the bridge handler that a child handler has been initialized.void
ThingHandlerCallback.configurationUpdated
(Thing thing) Informs about an updated configuration of a thing.protected abstract @Nullable ThingHandler
BaseThingHandlerFactory.createHandler
(Thing thing) Creates aThingHandler
for the given thing.ThingHandlerCallback.editChannel
(Thing thing, ChannelUID channelUID) Creates aChannelBuilder
which is preconfigured with values from the givenChannel
and allows to modify it.void
ThingHandlerCallback.migrateThingType
(Thing thing, ThingTypeUID thingTypeUID, Configuration configuration) Informs the framework that the ThingType of the givenThing
should be changed.BaseThingHandlerFactory.registerHandler
(Thing thing) ThingHandlerFactory.registerHandler
(Thing thing) Creates a newThingHandler
instance.void
ThingHandlerCallback.statusUpdated
(Thing thing, ThingStatusInfo thingStatus) Informs about an updated status of a thing.void
BaseThingHandler.thingUpdated
(Thing thing) void
ThingHandler.thingUpdated
(Thing thing) Notifies the handler about an updatedThing
.void
ThingHandlerCallback.thingUpdated
(Thing thing) Informs about an update of the whole thing.void
BaseThingHandlerFactory.unregisterHandler
(Thing thing) void
ThingHandlerFactory.unregisterHandler
(Thing thing) Unregisters aThingHandler
instance.protected void
BaseThingHandler.updateThing
(Thing thing) Informs the framework, that a thing was updated.void
ThingHandlerCallback.validateConfigurationParameters
(Thing thing, Map<String, Object> configurationParameters) Validates the given configuration parameters against the configuration description.ModifierConstructorDescriptionBaseThingHandler
(Thing thing) Creates a new instance of this class for theThing
.ConfigStatusThingHandler
(Thing thing) Creates a new instance of this class for the givenThing
. -
Uses of Thing in org.openhab.core.thing.binding.builder
Modifier and TypeMethodDescriptionThingBuilder.build()
Build the thingprotected Thing
ThingBuilder.populate
(org.openhab.core.thing.internal.ThingImpl thing) Modifier and TypeMethodDescriptionstatic ThingBuilder
Create a new thingThingBuilder
for a copy of the given thing -
Uses of Thing in org.openhab.core.thing.binding.firmware
Modifier and TypeMethodDescriptionFirmwareUpdateHandler.getThing()
Returns theThing
that is handled by this firmware update handler.Modifier and TypeMethodDescriptionboolean
Firmware.isSuitableFor
(Thing thing) Checks whether this firmware is suitable for the given thing. -
Uses of Thing in org.openhab.core.thing.dto
-
Uses of Thing in org.openhab.core.thing.events
Modifier and TypeMethodDescriptionstatic ThingAddedEvent
ThingEventFactory.createAddedEvent
(Thing thing) Creates a thing added event.static ThingRemovedEvent
ThingEventFactory.createRemovedEvent
(Thing thing) Creates a thing removed event.static ThingUpdatedEvent
ThingEventFactory.createUpdateEvent
(Thing thing, Thing oldThing) Creates a thing updated event. -
Uses of Thing in org.openhab.core.thing.firmware
Modifier and TypeMethodDescription@Nullable Firmware
FirmwareProvider.getFirmware
(Thing thing, String version) Returns the firmware for the given thing and provided firmware version.@Nullable Firmware
FirmwareProvider.getFirmware
(Thing thing, String version, @Nullable Locale locale) Returns the firmware for the given thing and version for the given locale.@Nullable Firmware
FirmwareRegistry.getFirmware
(Thing thing, String firmwareVersion) Returns the firmware for the given thing and firmware version by using the locale provided by theLocaleProvider
.@Nullable Firmware
FirmwareRegistry.getFirmware
(Thing thing, String firmwareVersion, Locale locale) Returns the firmware for the given thing, firmware version and locale.FirmwareProvider.getFirmwares
(Thing thing) Returns the set of available firmwares for the given thing.FirmwareProvider.getFirmwares
(Thing thing, @Nullable Locale locale) Returns the set of available firmwares for the given thing and the given locale.FirmwareRegistry.getFirmwares
(Thing thing) Returns the collection of available firmwares for the given thing using the locale provided by theLocaleProvider
.FirmwareRegistry.getFirmwares
(Thing thing, @Nullable Locale locale) Returns the collection of available firmwares for the given thing and locale.@Nullable Firmware
FirmwareRegistry.getLatestFirmware
(Thing thing) Returns the latest firmware for the given thing, using the locale provided by theLocaleProvider
.@Nullable Firmware
FirmwareRegistry.getLatestFirmware
(Thing thing, @Nullable Locale locale) Returns the latest firmware for the given thing and locale. -
Uses of Thing in org.openhab.core.thing.i18n
Modifier and TypeMethodDescriptionThingStatusInfoI18nLocalizationService.getLocalizedThingStatusInfo
(Thing thing, Locale locale) Localizes theThingStatusInfo
for the given thing. -
Uses of Thing in org.openhab.core.thing.link
Modifier and TypeMethodDescriptionItemChannelLinkRegistry.getBoundThings
(String itemName) Returns a set of bound things for the given item name. -
Uses of Thing in org.openhab.core.thing.util
Modifier and TypeMethodDescriptionstatic Thing
Merges the content of a ThingDTO with an existing Thing.Modifier and TypeMethodDescriptionstatic void
ThingHelper.addChannelsToThing
(Thing thing, Collection<Channel> channels) static boolean
Indicates whether twoThing
s are technical equal.static boolean
ThingHandlerHelper.isHandlerInitialized
(Thing thing) Checks if the thing handler has been initialized.static Thing
Merges the content of a ThingDTO with an existing Thing.