public interface TychoRepositoryIndex
| Modifier and Type | Method and Description |
|---|---|
void |
addProject(GAV gav)
Adds a GAV to the index
|
Set<GAV> |
getProjectGAVs()
Receive the set of GAVs contained in this index
|
void |
remove(GAV gav)
Remove a GAV from the index.
|
void |
save()
Changes performed via
addProject(GAV) , remove(GAV) will only be reflected
in the memory state of the index. |
Set<GAV> getProjectGAVs()
void addProject(GAV gav)
gav - not null#save()}void remove(GAV gav)
gav - #save()}void save()
throws IOException
addProject(GAV) , remove(GAV) will only be reflected
in the memory state of the index. In case the index is bound some persistence location (e.g.
a file see FileBasedTychoRepositoryIndex.createRepositoryIndex(java.io.File, String))
the method will store the current memory content to the persistence storage.IOExceptionCopyright © 2008-2012 Eclipse Foundation. All Rights Reserved.