blob: aed6bc7f3efe4facdcbe0b618b6ced39f15c488e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
/*******************************************************************************
* Copyright (c) 2008, 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.equinox.p2.repository;
import java.net.URI;
import java.util.List;
/**
* @since 2.0
*/
public interface ICompositeRepository extends IRepository {
/**
*
* @return a list of URIs containing the locations of the children repositories
*/
public abstract List getChildren();
/**
* Removes all child repositories
*/
public abstract void removeAllChildren();
/**
* Removes specified URI from list of child repositories.
* Does nothing if specified URI is not a child repository
* @param child
*/
public abstract void removeChild(URI child);
/**
* Adds a specified URI to list of child repositories.
* Does nothing if URI is a duplicate of an existing child repository.
* @param child
*/
public abstract void addChild(URI child);
}
|