Uses of Class
org.openhab.core.thing.ThingUID
Packages that use ThingUID
Package
Description
-
Uses of ThingUID in org.openhab.core.config.discovery
Methods in org.openhab.core.config.discovery that return ThingUIDModifier and TypeMethodDescription@Nullable ThingUIDDiscoveryResult.getBridgeUID()Returns the uniqueBridgeID of this result object.DiscoveryResult.getThingUID()Returns the uniqueThingID of this result object.Methods in org.openhab.core.config.discovery that return types with arguments of type ThingUIDModifier and TypeMethodDescription@Nullable Collection<ThingUID> DiscoveryListener.removeOlderResults(DiscoveryService source, Instant timestamp, @Nullable Collection<ThingTypeUID> thingTypeUIDs, @Nullable ThingUID bridgeUID) Removes all results belonging to one of the given types that are older than the given timestamp.Methods in org.openhab.core.config.discovery with parameters of type ThingUIDModifier and TypeMethodDescriptionstatic DiscoveryResultBuilderCreates a new builder for a given thing UID.protected voidAbstractDiscoveryService.removeOlderResults(Instant timestamp, @Nullable Collection<ThingTypeUID> thingTypeUIDs, @Nullable ThingUID bridgeUID) Call to remove all results of the given types that are older than the given timestamp.protected voidAbstractDiscoveryService.removeOlderResults(Instant timestamp, @Nullable ThingUID bridgeUID) Call to remove all results of allAbstractDiscoveryService.supportedThingTypesthat are older than the given timestamp.@Nullable Collection<ThingUID> DiscoveryListener.removeOlderResults(DiscoveryService source, Instant timestamp, @Nullable Collection<ThingTypeUID> thingTypeUIDs, @Nullable ThingUID bridgeUID) Removes all results belonging to one of the given types that are older than the given timestamp.protected voidAbstractDiscoveryService.thingRemoved(ThingUID thingUID) Notifies the registeredDiscoveryListeners about a removed device.voidDiscoveryListener.thingRemoved(DiscoveryService source, ThingUID thingUID) Invoked synchronously when an already existingThinghas been marked to be deleted by the accordingDiscoveryService.DiscoveryResultBuilder.withBridge(@Nullable ThingUID bridgeUID) Sets the bridgeUID of the desired result. -
Uses of ThingUID in org.openhab.core.config.discovery.inbox
Methods in org.openhab.core.config.discovery.inbox with parameters of type ThingUIDModifier and TypeMethodDescription@Nullable ThingCreates newThingand adds it to theThingRegistry.static Predicate<DiscoveryResult> InboxPredicates.forThingUID(@Nullable ThingUID thingUID) booleanRemoves theDiscoveryResultassociated with the specifiedThingID from thisInboxand sends a REMOVED event to any registeredInboxListener.voidInbox.setFlag(ThingUID thingUID, @Nullable DiscoveryResultFlag flag) Sets the flag for a given thingUID result.
The flag signals e.g. if the result isDiscoveryResultFlag.NEWor has been marked asDiscoveryResultFlag.IGNORED. -
Uses of ThingUID in org.openhab.core.config.discovery.mdns
Methods in org.openhab.core.config.discovery.mdns that return ThingUIDModifier and TypeMethodDescription@Nullable ThingUIDMDNSDiscoveryParticipant.getThingUID(javax.jmdns.ServiceInfo service) Returns the thing UID for a mDNS service -
Uses of ThingUID in org.openhab.core.config.discovery.sddp
Methods in org.openhab.core.config.discovery.sddp that return ThingUIDModifier and TypeMethodDescription@Nullable ThingUIDSddpDiscoveryParticipant.getThingUID(SddpDevice device) Returns the thing UID for a SDDP device -
Uses of ThingUID in org.openhab.core.config.discovery.upnp
Methods in org.openhab.core.config.discovery.upnp that return ThingUIDModifier and TypeMethodDescription@Nullable ThingUIDUpnpDiscoveryParticipant.getThingUID(org.jupnp.model.meta.RemoteDevice device) Returns the thing UID for a upnp device -
Uses of ThingUID in org.openhab.core.config.discovery.usbserial
Methods in org.openhab.core.config.discovery.usbserial that return ThingUIDModifier and TypeMethodDescription@Nullable ThingUIDUsbSerialDiscoveryParticipant.getThingUID(UsbSerialDeviceInformation deviceInformation) Returns the thing UID for a USB device with corresponding serial port. -
Uses of ThingUID in org.openhab.core.model.thing.validation
Methods in org.openhab.core.model.thing.validation that return ThingUID -
Uses of ThingUID in org.openhab.core.thing
Methods in org.openhab.core.thing that return ThingUIDModifier and TypeMethodDescription@Nullable ThingUIDThing.getBridgeUID()Gets the bridge UID.ChannelGroupUID.getThingUID()Returns the thing UIDChannelUID.getThingUID()Returns the thing UIDThing.getUID()Gets the uid.Methods in org.openhab.core.thing with parameters of type ThingUIDModifier and TypeMethodDescription@Nullable ThingThingRegistry.createThingOfType(ThingTypeUID thingTypeUID, @Nullable ThingUID thingUID, @Nullable ThingUID bridgeUID, @Nullable String label, Configuration configuration) Creates a thing based on the given configuration properties@Nullable ThingThingRegistry.forceRemove(ThingUID thingUID) @Nullable ThingReturns a thing for a given UID or null if no thing was found.@Nullable ThingGets the thing for the given UID or null if no thing with the UID exists.booleanThis method gets the enabled status for aThing.protected StringManagedThingProvider.keyToString(ThingUID key) @Nullable ThingvoidThing.setBridgeUID(@Nullable ThingUID bridgeUID) Sets the bridge.voidThingManager.setEnabled(ThingUID thingUID, boolean isEnabled) This method is used for changing enabled state of theThingThe onlyThingStatuswhich is NOT enabled isThingStatuswithThingStatusDetail.DISABLED.voidThingRegistry.updateConfiguration(ThingUID thingUID, Map<String, Object> configurationParameters) Updates the configuration of a thing for the given UID.Constructors in org.openhab.core.thing with parameters of type ThingUIDModifierConstructorDescriptionChannelGroupUID(ThingUID thingUID, String id) ChannelUID(ThingUID thingUID, String id) ChannelUID(ThingUID thingUID, String groupId, String id) Instantiates a new thing UID.ThingUID(ThingTypeUID thingTypeUID, ThingUID bridgeUID, String id) Instantiates a new thing UID. -
Uses of ThingUID in org.openhab.core.thing.binding
Methods in org.openhab.core.thing.binding that return ThingUIDModifier and TypeMethodDescriptionstatic ThingUIDThingFactory.generateRandomThingUID(ThingTypeUID thingTypeUID) Generates a random Thing UID for the given thingTypeMethods in org.openhab.core.thing.binding with parameters of type ThingUIDModifier and TypeMethodDescription@Nullable ThingBaseThingHandlerFactory.createThing(ThingTypeUID thingTypeUID, Configuration configuration, @Nullable ThingUID thingUID, @Nullable ThingUID bridgeUID) Creates a thing based on given thing type uid.protected @Nullable ThingBaseThingHandlerFactory.createThing(ThingTypeUID thingTypeUID, Configuration configuration, ThingUID thingUID) Creates a thing based on given thing type uid.static @Nullable ThingThingFactory.createThing(ThingUID thingUID, Configuration configuration, @Nullable Map<String, String> properties, @Nullable ThingUID bridgeUID, ThingTypeUID thingTypeUID, List<ThingHandlerFactory> thingHandlerFactories) static ThingThingFactory.createThing(ThingType thingType, ThingUID thingUID, Configuration configuration) Creates a thing based on given thing type.static ThingThingFactory.createThing(ThingType thingType, ThingUID thingUID, Configuration configuration, @Nullable ThingUID bridgeUID) Creates a thing based on a given thing type.static ThingThingFactory.createThing(ThingType thingType, ThingUID thingUID, Configuration configuration, @Nullable ThingUID bridgeUID, @Nullable ConfigDescriptionRegistry configDescriptionRegistry) Creates a thing based on a given thing type.@Nullable ThingThingHandlerFactory.createThing(ThingTypeUID thingTypeUID, Configuration configuration, @Nullable ThingUID thingUID, @Nullable ThingUID bridgeUID) Creates a thing for given arguments.@Nullable BridgeReturns the bridge of the thing.voidBaseThingHandlerFactory.removeThing(ThingUID thingUID) voidThingHandlerFactory.removeThing(ThingUID thingUID) A thing with the givenThingUID was removed. -
Uses of ThingUID in org.openhab.core.thing.binding.builder
Fields in org.openhab.core.thing.binding.builder declared as ThingUIDMethods in org.openhab.core.thing.binding.builder with parameters of type ThingUIDModifier and TypeMethodDescriptionstatic BridgeBuilderBridgeBuilder.create(ThingTypeUID thingTypeUID, ThingUID thingUID) static ThingBuilderThingBuilder.create(ThingTypeUID thingTypeUID, ThingUID thingUID) Create a newThingBuilderBridgeBuilder.withBridge(@Nullable ThingUID bridgeUID) ThingBuilder.withBridge(@Nullable ThingUID bridgeUID) Set the bridge for this thingConstructors in org.openhab.core.thing.binding.builder with parameters of type ThingUIDModifierConstructorDescriptionprotectedThingBuilder(ThingTypeUID thingTypeUID, ThingUID thingUID) -
Uses of ThingUID in org.openhab.core.thing.events
Methods in org.openhab.core.thing.events that return ThingUIDModifier and TypeMethodDescriptionThingStatusInfoChangedEvent.getThingUID()Gets the thing UID.ThingStatusInfoEvent.getThingUID()Gets the thing UID.Methods in org.openhab.core.thing.events with parameters of type ThingUIDModifier and TypeMethodDescriptionstatic ThingStatusInfoChangedEventThingEventFactory.createStatusInfoChangedEvent(ThingUID thingUID, ThingStatusInfo thingStatusInfo, ThingStatusInfo oldThingStatusInfo) Creates a new thing status info changed event based on a thing UID, a thing status info and the old thing status info object.static ThingStatusInfoEventThingEventFactory.createStatusInfoEvent(ThingUID thingUID, ThingStatusInfo thingStatusInfo) Creates a new thing status info event based on a thing UID and a thing status info object.Constructors in org.openhab.core.thing.events with parameters of type ThingUIDModifierConstructorDescriptionprotectedThingStatusInfoChangedEvent(String topic, String payload, ThingUID thingUID, ThingStatusInfo newThingStatusInfo, ThingStatusInfo oldThingStatusInfo) Creates a new thing status event object.protectedThingStatusInfoEvent(String topic, String payload, ThingUID thingUID, ThingStatusInfo thingStatusInfo) Creates a new thing status event object. -
Uses of ThingUID in org.openhab.core.thing.firmware
Methods in org.openhab.core.thing.firmware that return ThingUIDModifier and TypeMethodDescriptionFirmwareStatusInfo.getThingUID()Returns the thing UID.FirmwareUpdateProgressInfo.getThingUID()Returns the thing UID.FirmwareUpdateResultInfo.getThingUID()Returns the thing UID.Methods in org.openhab.core.thing.firmware with parameters of type ThingUIDModifier and TypeMethodDescriptionvoidFirmwareUpdateService.cancelFirmwareUpdate(ThingUID thingUID) Cancels the firmware update of the thing having the given thing UID by invoking the operationFirmwareUpdateHandler.cancel()of the thing´s firmware update handler.static FirmwareUpdateProgressInfoFirmwareUpdateProgressInfo.createFirmwareUpdateProgressInfo(ThingUID thingUID, String firmwareVersion, ProgressStep progressStep, Collection<ProgressStep> sequence, boolean pending, int progress) Creates a newFirmwareUpdateProgressInfo.static FirmwareUpdateProgressInfoFirmwareUpdateProgressInfo.createFirmwareUpdateProgressInfo(ThingUID thingUID, ThingTypeUID thingTypeUID, String firmwareVersion, ProgressStep progressStep, Collection<ProgressStep> sequence, boolean pending) Creates a newFirmwareUpdateProgressInfo.static FirmwareUpdateResultInfoFirmwareUpdateResultInfo.createFirmwareUpdateResultInfo(ThingUID thingUID, FirmwareUpdateResult result, String errorMessage) Creates a newFirmwareUpdateResultInfo.static FirmwareStatusInfoFirmwareStatusInfo.createUnknownInfo(ThingUID thingUID) Creates a newFirmwareStatusInfohavingFirmwareStatus.UNKNOWNas firmware status.static FirmwareStatusInfoFirmwareStatusInfo.createUpdateAvailableInfo(ThingUID thingUID) Creates a newFirmwareStatusInfohavingFirmwareStatus.UPDATE_AVAILABLEas firmware status.static FirmwareStatusInfoFirmwareStatusInfo.createUpdateExecutableInfo(ThingUID thingUID, @Nullable String firmwareVersion) Creates a newFirmwareStatusInfohavingFirmwareStatus.UPDATE_EXECUTABLEas firmware status.static FirmwareStatusInfoFirmwareStatusInfo.createUpToDateInfo(ThingUID thingUID) Creates a newFirmwareStatusInfohavingFirmwareStatus.UP_TO_DATEas firmware status.@Nullable FirmwareStatusInfoFirmwareUpdateService.getFirmwareStatusInfo(ThingUID thingUID) Returns theFirmwareStatusInfofor the thing having the given thing UID.voidFirmwareUpdateService.updateFirmware(ThingUID thingUID, String firmwareVersion, @Nullable Locale locale) Updates the firmware of the thing having the given thing UID by invoking the operationFirmwareUpdateHandler.updateFirmware(Firmware, ProgressCallback)of the thing´s firmware update handler. -
Uses of ThingUID in org.openhab.core.thing.link
Methods in org.openhab.core.thing.link with parameters of type ThingUIDModifier and TypeMethodDescriptionintItemChannelLinkRegistry.removeLinksForThing(ThingUID thingUID) Remove all links related to a thingintManagedItemChannelLinkProvider.removeLinksForThing(ThingUID thingUID) -
Uses of ThingUID in org.openhab.core.thing.util
Methods in org.openhab.core.thing.util with parameters of type ThingUIDModifier and TypeMethodDescriptionstatic StringThingWebClientUtil.buildWebClientConsumerName(ThingUID uid, @Nullable String prefix) Build a valid consumer name for HTTP or WebSocket client.