Class IpAddonFinder
java.lang.Object
org.openhab.core.config.discovery.addon.BaseAddonFinder
org.openhab.core.config.discovery.addon.ip.IpAddonFinder
- All Implemented Interfaces:
AddonFinder
This is a
IpAddonFinder
for finding suggested add-ons by sending IP packets to the
network and collecting responses.- Author:
- Holger Friedrich - Initial contribution
-
Field Summary
Fields inherited from class org.openhab.core.config.discovery.addon.BaseAddonFinder
addonCandidates
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
The framework calls this method to scan through the candidate list ofAddonInfo
and return a subset of those that it suggests to be installed.void
setAddonCandidates
(List<AddonInfo> candidates) The framework calls this method to provide a list ofAddonInfo
elements which contain potential candidates that this finder can iterate over in order to detect which ones to return via thegetSuggestedAddons()
method.Methods inherited from class org.openhab.core.config.discovery.addon.BaseAddonFinder
propertyMatches, unsetAddonCandidates
-
Field Details
-
SERVICE_TYPE
- See Also:
-
SERVICE_NAME
- See Also:
-
-
Constructor Details
-
IpAddonFinder
public IpAddonFinder()
-
-
Method Details
-
deactivate
public void deactivate() -
setAddonCandidates
Description copied from interface:AddonFinder
The framework calls this method to provide a list ofAddonInfo
elements which contain potential candidates that this finder can iterate over in order to detect which ones to return via thegetSuggestedAddons()
method.- Specified by:
setAddonCandidates
in interfaceAddonFinder
- Overrides:
setAddonCandidates
in classBaseAddonFinder
- Parameters:
candidates
- a list of AddonInfo candidates.
-
getSuggestedAddons
Description copied from interface:AddonFinder
The framework calls this method to scan through the candidate list ofAddonInfo
and return a subset of those that it suggests to be installed. -
getServiceName
- Specified by:
getServiceName
in classBaseAddonFinder
-