|
Eclipse Platform Release 3.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.update.search.UpdateSearchScope
This class encapsulates update scope of the update search. Sites that need to be visited should be added to the scope. If some categories should be skipped, their names must be passed as array of strings to the method.
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.
Constructor Summary | |
UpdateSearchScope()
The default constructor. |
Method Summary | |
void | addSearchSite(String label,
URL siteURL,
String[] categoriesToSkip)
Adds the site to scan to the search scope. |
IUpdateSearchSite[] | getSearchSites()
Returns the sites that should be visited during the search. |
URL | getUpdateMapURL()
Returns the optional URL of the update map file. |
boolean | isFeatureProvidedSitesEnabled()
In addition to the sites added by addSearchSite(), features contribute their own update url's. |
void | setFeatureProvidedSitesEnabled(boolean enable)
Enable or disable searching of feature provided update sites. |
void | setUpdateMapURL(URL url)
Sets the optional URL of the update map file. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public UpdateSearchScope()
Method Detail |
public void setUpdateMapURL(URL url)
public URL getUpdateMapURL()
public void addSearchSite(String label, URL siteURL, String[] categoriesToSkip)
public IUpdateSearchSite[] getSearchSites()
public boolean isFeatureProvidedSitesEnabled()
public void setFeatureProvidedSitesEnabled(boolean enable)
|
Eclipse Platform Release 3.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2004. All rights reserved.