public class LocalHistoryFacade
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
LocalHistoryFacade.Listener |
Constructor and Description |
---|
LocalHistoryFacade(ChangeList changeList) |
Modifier and Type | Method and Description |
---|---|
void |
accept(ChangeVisitor v) |
void |
addChangeInTests(StructuralChange c) |
void |
addListener(LocalHistoryFacade.Listener l,
Disposable parent) |
void |
beginChangeSet() |
void |
contentChanged(java.lang.String path,
Content oldContent,
long oldTimestamp) |
void |
created(java.lang.String path,
boolean isDirectory) |
void |
deleted(java.lang.String path,
Entry deletedEntry) |
void |
endChangeSet(java.lang.String name) |
void |
forceBeginChangeSet() |
ChangeList |
getChangeListInTests() |
java.util.List<RecentChange> |
getRecentChanges(RootEntry root) |
void |
moved(java.lang.String path,
java.lang.String oldParent) |
void |
putLabelInTests(PutLabelChange c) |
LabelImpl |
putSystemLabel(java.lang.String name,
java.lang.String projectId,
int color) |
LabelImpl |
putUserLabel(java.lang.String name,
java.lang.String projectId) |
void |
readOnlyStatusChanged(java.lang.String path,
boolean oldStatus) |
void |
removeListener(LocalHistoryFacade.Listener l) |
void |
renamed(java.lang.String path,
java.lang.String oldName) |
java.lang.String |
revertUpTo(RootEntry root,
java.lang.String path,
ChangeSet targetChangeSet,
Change targetChange,
boolean revertTargetChange,
boolean warnOnFileNotFound) |
public LocalHistoryFacade(ChangeList changeList)
public void beginChangeSet()
public void forceBeginChangeSet()
public void endChangeSet(java.lang.String name)
public void created(java.lang.String path, boolean isDirectory)
public void contentChanged(java.lang.String path, Content oldContent, long oldTimestamp)
public void renamed(java.lang.String path, java.lang.String oldName)
public void readOnlyStatusChanged(java.lang.String path, boolean oldStatus)
public void moved(java.lang.String path, java.lang.String oldParent)
public void deleted(java.lang.String path, Entry deletedEntry)
public LabelImpl putSystemLabel(java.lang.String name, java.lang.String projectId, int color)
public LabelImpl putUserLabel(java.lang.String name, java.lang.String projectId)
public void addChangeInTests(StructuralChange c)
public void putLabelInTests(PutLabelChange c)
public ChangeList getChangeListInTests()
public java.util.List<RecentChange> getRecentChanges(RootEntry root)
public void accept(ChangeVisitor v)
public java.lang.String revertUpTo(RootEntry root, java.lang.String path, ChangeSet targetChangeSet, Change targetChange, boolean revertTargetChange, boolean warnOnFileNotFound)
public void addListener(LocalHistoryFacade.Listener l, Disposable parent)
public void removeListener(LocalHistoryFacade.Listener l)