Uses of Interface
org.openhab.core.config.discovery.DiscoveryResult
Package
Description
-
Uses of DiscoveryResult in org.openhab.core.config.discovery
Modifier and TypeMethodDescriptionDiscoveryResultBuilder.build()
Builds a result with the settings of this builder.protected DiscoveryResult
AbstractDiscoveryService.getLocalizedDiscoveryResult
(DiscoveryResult discoveryResult, @Nullable org.osgi.framework.Bundle bundle) Modifier and TypeMethodDescriptionprotected DiscoveryResult
AbstractDiscoveryService.getLocalizedDiscoveryResult
(DiscoveryResult discoveryResult, @Nullable org.osgi.framework.Bundle bundle) protected void
AbstractDiscoveryService.thingDiscovered
(DiscoveryResult discoveryResult) Notifies the registeredDiscoveryListener
s about a discovered device.void
DiscoveryListener.thingDiscovered
(DiscoveryService source, DiscoveryResult result) Invoked synchronously when aDiscoveryResult
has been created by the accordingDiscoveryService
. -
Uses of DiscoveryResult in org.openhab.core.config.discovery.dto
Modifier and TypeMethodDescriptionstatic DiscoveryResult
DiscoveryResultDTOMapper.map
(DiscoveryResultDTO discoveryResultDTO) Maps discovery result data transfer object into discovery result.Modifier and TypeMethodDescriptionstatic DiscoveryResultDTO
DiscoveryResultDTOMapper.map
(DiscoveryResult discoveryResult) Maps discovery result into discovery result data transfer object. -
Uses of DiscoveryResult in org.openhab.core.config.discovery.inbox
Modifier and TypeMethodDescriptionstatic Predicate<DiscoveryResult>
InboxPredicates.forBinding
(@Nullable String bindingId) static Predicate<DiscoveryResult>
InboxPredicates.forThingTypeUID
(@Nullable ThingTypeUID uid) static Predicate<DiscoveryResult>
InboxPredicates.forThingUID
(@Nullable ThingUID thingUID) Inbox.getAll()
Returns allDiscoveryResult
s in thisInbox
.Inbox.stream()
Returns a stream of allDiscoveryResult
s in thisInbox
.static Predicate<DiscoveryResult>
InboxPredicates.withFlag
(DiscoveryResultFlag flag) static Predicate<DiscoveryResult>
InboxPredicates.withProperty
(@Nullable String propertyName, String propertyValue) static Predicate<DiscoveryResult>
InboxPredicates.withRepresentationProperty
(@Nullable String propertyName) static Predicate<DiscoveryResult>
InboxPredicates.withRepresentationPropertyValue
(@Nullable String propertyValue) Modifier and TypeMethodDescriptionInbox.add
(@Nullable DiscoveryResult result) Adds the specifiedDiscoveryResult
to thisInbox
and sends an ADDED event to any registeredInboxListener
.void
InboxListener.thingAdded
(Inbox source, DiscoveryResult result) Invoked synchronously when a NEWDiscoveryResult
has been added to theInbox
.void
InboxListener.thingRemoved
(Inbox source, DiscoveryResult result) Invoked synchronously when an EXISTINGDiscoveryResult
has been removed from theInbox
.void
InboxListener.thingUpdated
(Inbox source, DiscoveryResult result) Invoked synchronously when an EXISTINGDiscoveryResult
has been updated in theInbox
. -
Uses of DiscoveryResult in org.openhab.core.config.discovery.inbox.events
Modifier and TypeMethodDescriptionstatic InboxAddedEvent
InboxEventFactory.createAddedEvent
(DiscoveryResult discoveryResult) Creates an inbox added event.static InboxRemovedEvent
InboxEventFactory.createRemovedEvent
(DiscoveryResult discoveryResult) Creates an inbox removed event.static InboxUpdatedEvent
InboxEventFactory.createUpdatedEvent
(DiscoveryResult discoveryResult) Creates an inbox updated event. -
Uses of DiscoveryResult in org.openhab.core.config.discovery.mdns
Modifier and TypeMethodDescription@Nullable DiscoveryResult
MDNSDiscoveryParticipant.createResult
(javax.jmdns.ServiceInfo service) Creates a discovery result for a mDNS service -
Uses of DiscoveryResult in org.openhab.core.config.discovery.upnp
Modifier and TypeMethodDescription@Nullable DiscoveryResult
UpnpDiscoveryParticipant.createResult
(org.jupnp.model.meta.RemoteDevice device) Creates a discovery result for a upnp device -
Uses of DiscoveryResult in org.openhab.core.config.discovery.usbserial
Modifier and TypeMethodDescription@Nullable DiscoveryResult
UsbSerialDiscoveryParticipant.createResult
(UsbSerialDeviceInformation deviceInformation) Creates a discovery result for a USB device with corresponding serial port.