public interface IUpdateSearchQuery
Note: This class/interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.
Modifier and Type | Method and Description |
---|---|
IQueryUpdateSiteAdapter |
getQuerySearchSite()
Returns an update site adapter that should be added to the scope
while running this query.
|
void |
run(ISite site,
String[] categoriesToSkip,
IUpdateSearchFilter filter,
IUpdateSearchResultCollector collector,
IProgressMonitor monitor)
Executes the query.
|
IQueryUpdateSiteAdapter getQuerySearchSite()
void run(ISite site, String[] categoriesToSkip, IUpdateSearchFilter filter, IUpdateSearchResultCollector collector, IProgressMonitor monitor)
site
- the update site to scancategoriesToSkip
- an array of category names that need to be skipped or null if categories should not be taken into account.filter
- a filter to apply before passing the match to collectorcollector
- an object that is used for reporting search resultsmonitor
- a progress monitor to report search progress within the provided siteGuidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.