public class MemoryTychoRepositoryIndex extends DefaultTychoRepositoryIndex
ENCODING, EOL
Constructor and Description |
---|
MemoryTychoRepositoryIndex(GAV... intitialContent) |
MemoryTychoRepositoryIndex(Set<GAV> intitialContent) |
Modifier and Type | Method and Description |
---|---|
void |
save()
Changes performed via
TychoRepositoryIndex.addProject(GAV) , TychoRepositoryIndex.remove(GAV) will only be reflected
in the memory state of the index. |
addProject, getProjectGAVs, read, remove, write
public MemoryTychoRepositoryIndex(GAV... intitialContent)
public void save() throws IOException
TychoRepositoryIndex
TychoRepositoryIndex.addProject(GAV)
, TychoRepositoryIndex.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.IOException
Copyright © 2008-2012 Eclipse Foundation. All Rights Reserved.