KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > update > core > ISiteWithMirrors


1 /*******************************************************************************
2  * Copyright (c) 2000, 2005 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * IBM Corporation - initial API and implementation
10  *******************************************************************************/

11 package org.eclipse.update.core;
12
13 import org.eclipse.core.runtime.*;
14
15 /**
16  * An extension of ISite that supports mirrors.
17  * The regular update site contains features (optionally groupped by categories), while
18  * a mirrored site can define zero or more updates sites (mirrors) with the same content.
19  * This allows users to pick their own update site, for performance purposes.
20  */

21 public interface ISiteWithMirrors extends ISite {
22
23     /**
24      * Returns an array of mirror sites that contain the same features/plugins.
25      * @return array of mirror sites, or empty array
26      * @throws CoreException
27      * @since 3.1
28      */

29     IURLEntry[] getMirrorSiteEntries() throws CoreException;
30 }
31
Popular Tags