Eclipse Platform
Release 3.1

org.eclipse.update.core
Interface ISiteWithMirrors

All Superinterfaces:
IAdaptable, ISite
All Known Implementing Classes:
Site

public interface ISiteWithMirrors
extends ISite

An extension of ISite that supports mirrors. The regular update site contains features (optionally groupped by categories), while a mirrored site can define zero or more updates sites (mirrors) with the same content. This allows users to pick their own update site, for performance purposes.


Field Summary
 
Fields inherited from interface org.eclipse.update.core.ISite
DEFAULT_INSTALLED_FEATURE_TYPE, DEFAULT_PACKAGED_FEATURE_TYPE, SITE_ACCESS_EXCEPTION
 
Method Summary
 IURLEntry[] getMirrorSiteEntries()
          Returns an array of mirror sites that contain the same features/plugins.
 
Methods inherited from interface org.eclipse.update.core.ISite
addPluginEntry, createFeature, createFeature, getArchives, getCategories, getCategory, getCurrentConfiguredSite, getDefaultPackagedFeatureType, getDescription, getDownloadSizeFor, getFeatureReference, getFeatureReferences, getInstallSizeFor, getPluginEntries, getPluginEntriesOnlyReferencedBy, getPluginEntryCount, getRawFeatureReferences, getSiteContentProvider, getType, getURL, install, install, remove, setSiteContentProvider
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 

Method Detail

getMirrorSiteEntries

public IURLEntry[] getMirrorSiteEntries()
                                 throws CoreException
Returns an array of mirror sites that contain the same features/plugins.

Returns:
array of mirror sites, or empty array
Throws:
CoreException
Since:
3.1

Eclipse Platform
Release 3.1

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2000, 2005. All rights reserved.