public abstract class DefaultTychoRepositoryIndex extends Object implements TychoRepositoryIndex
Modifier | Constructor and Description |
---|---|
protected |
DefaultTychoRepositoryIndex() |
|
DefaultTychoRepositoryIndex(Set<GAV> initialContent) |
Modifier and Type | Method and Description |
---|---|
void |
addGav(GAV gav)
Adds a GAV to the index
|
Set<GAV> |
getProjectGAVs()
Receive the set of GAVs contained in this index
|
protected Set<GAV> |
read(InputStream inStream) |
void |
removeGav(GAV gav)
Remove a GAV from the index.
|
protected void |
setGavs(Set<GAV> content) |
protected void |
write(OutputStream outStream) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
save
public Set<GAV> getProjectGAVs()
TychoRepositoryIndex
getProjectGAVs
in interface TychoRepositoryIndex
public void addGav(GAV gav)
TychoRepositoryIndex
addGav
in interface TychoRepositoryIndex
gav
- not null
#save()}
public void removeGav(GAV gav)
TychoRepositoryIndex
removeGav
in interface TychoRepositoryIndex
#save()}
protected void write(OutputStream outStream) throws IOException
IOException
protected Set<GAV> read(InputStream inStream) throws IOException
IOException
Copyright © 2008-2015 Eclipse Foundation. All Rights Reserved.