public abstract class Reverter
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected IdeaGateway |
myGateway |
protected LocalHistoryFacade |
myVcs |
Modifier | Constructor and Description |
---|---|
protected |
Reverter(Project p,
LocalHistoryFacade vcs,
IdeaGateway gw) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
askForReadOnlyStatusClearing() |
java.util.List<java.lang.String> |
askUserForProceeding() |
java.util.List<java.lang.String> |
checkCanRevert() |
protected abstract void |
doRevert() |
java.lang.String |
getCommandName() |
protected java.util.List<VirtualFile> |
getFilesToClearROStatus() |
protected abstract Revision |
getTargetRevision() |
void |
revert() |
protected ChangeVisitor |
selective(ChangeVisitor v) |
protected LocalHistoryFacade myVcs
protected IdeaGateway myGateway
protected Reverter(Project p, LocalHistoryFacade vcs, IdeaGateway gw)
public java.util.List<java.lang.String> askUserForProceeding() throws java.io.IOException
java.io.IOException
public java.util.List<java.lang.String> checkCanRevert() throws java.io.IOException
java.io.IOException
protected boolean askForReadOnlyStatusClearing() throws java.io.IOException
java.io.IOException
protected java.util.List<VirtualFile> getFilesToClearROStatus() throws java.io.IOException
java.io.IOException
protected ChangeVisitor selective(ChangeVisitor v)
public void revert() throws java.lang.Exception
java.lang.Exception
public java.lang.String getCommandName()
protected abstract Revision getTargetRevision()
protected abstract void doRevert() throws java.io.IOException, FilesTooBigForDiffException
java.io.IOException
FilesTooBigForDiffException