blob: 31b5c95d942d291c6cb363d9ed675bd146d922f2 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2000, 2009 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.update.core;
import org.eclipse.core.runtime.*;
/**
* 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.
* @deprecated The org.eclipse.update component has been replaced by Equinox p2. This
* provisional API was never promoted to stable API, and may be removed from a future release of the platform.
*/
public interface ISiteWithMirrors extends ISite {
/**
* Returns an array of mirror sites that contain the same features/plugins.
* @return array of mirror sites, or empty array
* @throws CoreException
* @since 3.1
*/
IURLEntry[] getMirrorSiteEntries() throws CoreException;
}