Interface AddonFinder
- All Known Implementing Classes:
BaseAddonFinder
,IpAddonFinder
,MDNSAddonFinder
,ProcessAddonFinder
,UpnpAddonFinder
@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 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.void
This 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 ofAddonInfo
and return a subset of those that it suggests to be installed. -
setAddonCandidates
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.- 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.
-