public class UndoChangeRevertingVisitor extends ChangeVisitor
Modifier and Type | Class and Description |
---|---|
static class |
UndoChangeRevertingVisitor.RuntimeIOException |
ChangeVisitor.StopVisitingException
Constructor and Description |
---|
UndoChangeRevertingVisitor(IdeaGateway gw,
java.lang.Long fromChangeId,
java.lang.Long toChangeId) |
Modifier and Type | Method and Description |
---|---|
protected void |
checkShouldStop(Change c) |
void |
finished() |
protected boolean |
shouldRevert(Change c) |
void |
visit(ContentChange c) |
void |
visit(CreateEntryChange c) |
void |
visit(DeleteChange c) |
void |
visit(MoveChange c) |
void |
visit(RenameChange c) |
void |
visit(ROStatusChange c) |
public UndoChangeRevertingVisitor(IdeaGateway gw, java.lang.Long fromChangeId, java.lang.Long toChangeId)
protected boolean shouldRevert(Change c)
protected void checkShouldStop(Change c) throws ChangeVisitor.StopVisitingException
public void visit(CreateEntryChange c) throws ChangeVisitor.StopVisitingException
visit
in class ChangeVisitor
ChangeVisitor.StopVisitingException
public void visit(ContentChange c) throws ChangeVisitor.StopVisitingException
visit
in class ChangeVisitor
ChangeVisitor.StopVisitingException
public void visit(RenameChange c) throws ChangeVisitor.StopVisitingException
visit
in class ChangeVisitor
ChangeVisitor.StopVisitingException
public void visit(ROStatusChange c) throws ChangeVisitor.StopVisitingException
visit
in class ChangeVisitor
ChangeVisitor.StopVisitingException
public void visit(MoveChange c) throws ChangeVisitor.StopVisitingException
visit
in class ChangeVisitor
ChangeVisitor.StopVisitingException
public void visit(DeleteChange c) throws ChangeVisitor.StopVisitingException
visit
in class ChangeVisitor
ChangeVisitor.StopVisitingException
public void finished()
finished
in class ChangeVisitor