Interface AddonFinder
- All Known Implementing Classes:
BaseAddonFinder,IpAddonFinder,MDNSAddonFinder,ProcessAddonFinder,SddpAddonFinder,UpnpAddonFinder,UsbAddonFinder
@NonNullByDefault
public interface AddonFinder
This is a
AddonFinder interface for classes that find add-ons that are suggested to be installed.- Author:
- Andrew Fiddian-Green - Initial contribution
-
Method Summary
Modifier and TypeMethodDescriptionThe 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.voidThis method should be called from the framework to allow a finder to stop searching for add-ons and do cleanup.
-
Method Details
-
getSuggestedAddons
The framework calls this method to scan through the candidate list ofAddonInfoand return a subset of those that it suggests to be installed. -
setAddonCandidates
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.- Parameters:
candidates- a list of AddonInfo candidates.
-
unsetAddonCandidates
void unsetAddonCandidates()This method should be called from the framework to allow a finder to stop searching for add-ons and do cleanup.
-