Class SvnNgDowngrade
- 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<SvnWcGeneration,SvnUpgrade>
-
- org.tmatesoft.svn.core.internal.wc2.ng.SvnNgDowngrade
-
- All Implemented Interfaces:
ISVNCanceller
,ISVNEventHandler
,ISvnOperationRunner<SvnWcGeneration,SvnUpgrade>
public class SvnNgDowngrade extends SvnNgOperationRunner<SvnWcGeneration,SvnUpgrade>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static class
SvnNgDowngrade.DowngradeConflictStatement
private static class
SvnNgDowngrade.SelectConflictsStatement
-
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 SvnNgDowngrade()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private void
collectConflicts18(SVNSqlJetDb sDb, java.util.List<java.lang.Long> wcIds, java.util.List<java.io.File> paths)
void
downgrade(SVNWCContext context, java.io.File localAbsPath)
private void
downgradeConflict(SVNSqlJetDb sDb, long wcId, java.io.File localAbsPath, java.io.File conflictOldRelPath, java.io.File conflictNewRelPath, java.io.File conflictWorkingRelPath, java.io.File prejRelPath, byte[] treeConflictData)
protected SvnWcGeneration
run(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 SvnWcGeneration run(SVNWCContext context) throws SVNException
- Specified by:
run
in classSvnNgOperationRunner<SvnWcGeneration,SvnUpgrade>
- Throws:
SVNException
-
downgrade
public void downgrade(SVNWCContext context, java.io.File localAbsPath) throws SVNException
- Throws:
SVNException
-
downgradeConflict
private void downgradeConflict(SVNSqlJetDb sDb, long wcId, java.io.File localAbsPath, java.io.File conflictOldRelPath, java.io.File conflictNewRelPath, java.io.File conflictWorkingRelPath, java.io.File prejRelPath, byte[] treeConflictData) throws SVNException
- Throws:
SVNException
-
collectConflicts18
private void collectConflicts18(SVNSqlJetDb sDb, java.util.List<java.lang.Long> wcIds, java.util.List<java.io.File> paths) throws SVNException
- Throws:
SVNException
-
-