Package org.eclipse.update.configurator
Interface IPlatformConfiguration.ISiteEntry
-
- Enclosing interface:
- IPlatformConfiguration
public static interface IPlatformConfiguration.ISiteEntryConfiguration entry representing an install site.- Since:
- 2.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description longgetChangeStamp()Returns a stamp reflecting the current state of the site.String[]getFeatures()Returns a list of features visible on the site.longgetFeaturesChangeStamp()Deprecated.Do not use this methodString[]getPlugins()Returns a list of plug-ins visible on the site.longgetPluginsChangeStamp()Deprecated.Do not use this methodIPlatformConfiguration.ISitePolicygetSitePolicy()Returns the policy for this siteURLgetURL()Returns the URL for this sitebooleanisNativelyLinked()Returns an indication whether the site represents an install site that has been linked via a native installer (using the links/linkfile mechanism)booleanisUpdateable()Returns an indication whether the site can be updated.voidsetSitePolicy(IPlatformConfiguration.ISitePolicy policy)Sets the site policy
-
-
-
Method Detail
-
getURL
URL getURL()
Returns the URL for this site- Returns:
- site url
- Since:
- 2.0
-
getSitePolicy
IPlatformConfiguration.ISitePolicy getSitePolicy()
Returns the policy for this site- Returns:
- site policy
- Since:
- 2.0
-
setSitePolicy
void setSitePolicy(IPlatformConfiguration.ISitePolicy policy)
Sets the site policy- Parameters:
policy- site policy- Since:
- 2.0
-
getFeatures
String[] getFeatures()
Returns a list of features visible on the site. Note, that this is simply a reflection of the site content. The features may or may not be actually configured.- Returns:
- an array of feature entries, or an empty array if no features are found. A feature entry is returned as a path relative to the site URL
- Since:
- 2.0
-
getPlugins
String[] getPlugins()
Returns a list of plug-ins visible on the site. Note, that this is simply a reflection of the site content and the current policy for the site. The plug-ins may or may not end up being used by Eclipse (depends on which plug-in are actually bound by the platform).- Returns:
- an array of plug-in entries, or an empty array if no plug-ins are found. A plug-in entry is returned as a path relative to the site URL *
- Since:
- 2.0
-
getChangeStamp
long getChangeStamp()
Returns a stamp reflecting the current state of the site. If called repeatedly, returns the same value as long as no changes were made to the site (changes to features or plugins).- Returns:
- site change stamp
- Since:
- 2.0
-
getFeaturesChangeStamp
@Deprecated long getFeaturesChangeStamp()
Deprecated.Do not use this methodReturns a stamp reflecting the current state of the features on the site. If called repeatedly, returns the same value as long as no changes were made to features on the site.- Returns:
- site features change stamp
- Since:
- 2.0
-
getPluginsChangeStamp
@Deprecated long getPluginsChangeStamp()
Deprecated.Do not use this methodReturns a stamp reflecting the current state of the plug-ins on the site. If called repeatedly, returns the same value as long as no changes were made to plug-ins on the site.- Returns:
- site plug-ins change stamp
- Since:
- 2.0
-
isUpdateable
boolean isUpdateable()
Returns an indication whether the site can be updated.- Returns:
trueif site can be updated,falseotherwise- Since:
- 2.0
-
isNativelyLinked
boolean isNativelyLinked()
Returns an indication whether the site represents an install site that has been linked via a native installer (using the links/linkfile mechanism)- Returns:
trueif the site is linked,falseotherwise- Since:
- 2.0
-
-