Class SvnNgRevert
- java.lang.Object
-
- org.tmatesoft.svn.core.internal.wc2.SvnOperationRunner<V,T>
-
- org.tmatesoft.svn.core.internal.wc2.SvnLocalOperationRunner<V,T>
-
- org.tmatesoft.svn.core.internal.wc2.ng.SvnNgOperationRunner<java.lang.Void,SvnRevert>
-
- org.tmatesoft.svn.core.internal.wc2.ng.SvnNgRevert
-
- All Implemented Interfaces:
ISVNCanceller,ISVNEventHandler,ISvnOperationRunner<java.lang.Void,SvnRevert>
public class SvnNgRevert extends SvnNgOperationRunner<java.lang.Void,SvnRevert>
-
-
Field Summary
-
Fields inherited from interface org.tmatesoft.svn.core.ISVNCanceller
NULL
-
Fields inherited from interface org.tmatesoft.svn.core.wc.ISVNEventHandler
UNKNOWN
-
-
Constructor Summary
Constructors Constructor Description SvnNgRevert()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private voidpopulateModifiedCopiesThatShouldBePreserved(java.io.File localAbsPath, java.io.File wcRoot, java.util.Set<java.io.File> modifiedCopiesThatShouldBePreserved)static voidrestore(SVNWCContext context, java.io.File localAbsPath, SVNDepth depth, boolean useCommitTimes, boolean revertRoot, ISVNEventHandler notifier)static voidrestore(SVNWCContext context, java.io.File localAbsPath, SVNDepth depth, boolean useCommitTimes, boolean revertRoot, ISVNEventHandler notifier, java.util.Set<java.io.File> modifiedCopiesThatShouldBePreserved)private static booleanrestoreCopiedDirectory(SVNWCContext context, java.io.File localAbsPath, boolean removeSelf, java.util.Set<java.io.File> modifiedCopiesThatShouldBePreserved)private voidrevert(java.io.File localAbsPath, SVNDepth depth, boolean useCommitTimes)private voidrevert(java.io.File localAbsPath, SVNDepth depth, boolean useCommitTimes, java.util.Collection<java.lang.String> changelists)private voidrevertChangelist(java.io.File localAbsPath, SVNDepth depth, boolean useCommitTimes, java.util.Collection<java.lang.String> changelists)protected java.lang.Voidrun(SVNWCContext context)-
Methods inherited from class org.tmatesoft.svn.core.internal.wc2.ng.SvnNgOperationRunner
deleteDeleteFiles, getRepositoryAccess, getWcGeneration, matchesChangelist, reset, run, setRepositoryAccess
-
Methods inherited from class org.tmatesoft.svn.core.internal.wc2.SvnLocalOperationRunner
getFirstTarget, isApplicable, sleepForTimestamp
-
Methods inherited from class org.tmatesoft.svn.core.internal.wc2.SvnOperationRunner
checkCancelled, getOperation, getWcContext, handleEvent, handleEvent, run, setOperation, setWcContext
-
-
-
-
Method Detail
-
run
protected java.lang.Void run(SVNWCContext context) throws SVNException
- Specified by:
runin classSvnNgOperationRunner<java.lang.Void,SvnRevert>- Throws:
SVNException
-
revert
private void revert(java.io.File localAbsPath, SVNDepth depth, boolean useCommitTimes, java.util.Collection<java.lang.String> changelists) throws SVNException- Throws:
SVNException
-
revertChangelist
private void revertChangelist(java.io.File localAbsPath, SVNDepth depth, boolean useCommitTimes, java.util.Collection<java.lang.String> changelists) throws SVNException- Throws:
SVNException
-
revert
private void revert(java.io.File localAbsPath, SVNDepth depth, boolean useCommitTimes) throws SVNException- Throws:
SVNException
-
populateModifiedCopiesThatShouldBePreserved
private void populateModifiedCopiesThatShouldBePreserved(java.io.File localAbsPath, java.io.File wcRoot, java.util.Set<java.io.File> modifiedCopiesThatShouldBePreserved) throws SVNException- Throws:
SVNException
-
restore
public static void restore(SVNWCContext context, java.io.File localAbsPath, SVNDepth depth, boolean useCommitTimes, boolean revertRoot, ISVNEventHandler notifier) throws SVNException
- Throws:
SVNException
-
restore
public static void restore(SVNWCContext context, java.io.File localAbsPath, SVNDepth depth, boolean useCommitTimes, boolean revertRoot, ISVNEventHandler notifier, java.util.Set<java.io.File> modifiedCopiesThatShouldBePreserved) throws SVNException
- Throws:
SVNException
-
restoreCopiedDirectory
private static boolean restoreCopiedDirectory(SVNWCContext context, java.io.File localAbsPath, boolean removeSelf, java.util.Set<java.io.File> modifiedCopiesThatShouldBePreserved) throws SVNException
- Throws:
SVNException
-
-