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
FieldsFields inherited from class org.openhab.core.config.discovery.addon.BaseAddonFinder
addonCandidates -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidThe framework calls this method to scan through the candidate list ofAddonInfoand return a subset of those that it suggests to be installed.voidsetAddonCandidates(List<AddonInfo> candidates) The framework calls this method to provide a list ofAddonInfoelements 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:AddonFinderThe framework calls this method to provide a list ofAddonInfoelements which contain potential candidates that this finder can iterate over in order to detect which ones to return via thegetSuggestedAddons()method.- Specified by:
setAddonCandidatesin interfaceAddonFinder- Overrides:
setAddonCandidatesin classBaseAddonFinder- Parameters:
candidates- a list of AddonInfo candidates.
-
getSuggestedAddons
Description copied from interface:AddonFinderThe framework calls this method to scan through the candidate list ofAddonInfoand return a subset of those that it suggests to be installed. -
getServiceName
- Specified by:
getServiceNamein classBaseAddonFinder
-