|
Eclipse Platform Release 3.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
T
- The type of repository content. Typically this is either IInstallableUnit
or IArtifactKey
.public interface ICompositeRepository<T>
A composite repository doesn't directly contain any contents, but rather contains only a list of child repositories. The composite repository aggregates content from the children and acts as a single repository containing the union of all child contents. When a composite repository is queried programmatically, it will appear to contain all elements that currently exist in one or more of its children.
Field Summary |
---|
Fields inherited from interface org.eclipse.equinox.p2.repository.IRepository |
---|
ENABLED, NONE, PREFERENCE_NODE, PROP_COMPRESSED, PROP_DESCRIPTION, PROP_MIRRORS_BASE_URL, PROP_MIRRORS_URL, PROP_NAME, PROP_NICKNAME, PROP_PASSWORD, PROP_SYSTEM, PROP_TIMESTAMP, PROP_USERNAME, TYPE_ARTIFACT, TYPE_METADATA |
Method Summary | |
---|---|
void |
addChild(URI child)
Adds a specified URI to list of child repositories. |
List<URI> |
getChildren()
Returns a list of URIs containing the locations of the children repositories |
void |
removeAllChildren()
Removes all child repositories |
void |
removeChild(URI child)
Removes the specified URI from the list of child repositories. |
Methods inherited from interface org.eclipse.equinox.p2.repository.IRepository |
---|
getDescription, getLocation, getName, getProperties, getProperty, getProvider, getProvisioningAgent, getType, getVersion, isModifiable, setProperty |
Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
---|
getAdapter |
Methods inherited from interface org.eclipse.equinox.p2.query.IQueryable |
---|
query |
Method Detail |
---|
void addChild(URI child)
child
- List<URI> getChildren()
void removeAllChildren()
void removeChild(URI child)
child
- The child to remove
|
Eclipse Platform Release 3.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2010. All rights reserved.