Class SvnNgCleanup
- 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,SvnCleanup>
-
- org.tmatesoft.svn.core.internal.wc2.ng.SvnNgCleanup
-
- All Implemented Interfaces:
ISVNCanceller
,ISVNEventHandler
,ISvnOperationRunner<java.lang.Void,SvnCleanup>
public class SvnNgCleanup extends SvnNgOperationRunner<java.lang.Void,SvnCleanup>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static class
SvnNgCleanup.CleanupStatusWalk
-
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 SvnNgCleanup()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private int
canBeCleaned(SVNWCContext wcContext, java.io.File localAbsPath)
private void
cleanup(SVNWCContext wcContext, java.io.File localAbsPath)
private void
cleanupInternal(SVNWCContext wcContext, java.io.File localAbsPath)
private void
doCleanup(java.io.File localAbsPath, SVNWCContext wcContext, java.util.List<java.lang.String> ignores)
static void
repairTimestamps(SVNWCContext wcContext, java.io.File localAbsPath)
protected java.lang.Void
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 java.lang.Void run(SVNWCContext context) throws SVNException
- Specified by:
run
in classSvnNgOperationRunner<java.lang.Void,SvnCleanup>
- Throws:
SVNException
-
doCleanup
private void doCleanup(java.io.File localAbsPath, SVNWCContext wcContext, java.util.List<java.lang.String> ignores) throws SVNException
- Throws:
SVNException
-
cleanup
private void cleanup(SVNWCContext wcContext, java.io.File localAbsPath) throws SVNException
- Throws:
SVNException
-
canBeCleaned
private int canBeCleaned(SVNWCContext wcContext, java.io.File localAbsPath) throws SVNException
- Throws:
SVNException
-
cleanupInternal
private void cleanupInternal(SVNWCContext wcContext, java.io.File localAbsPath) throws SVNException
- Throws:
SVNException
-
repairTimestamps
public static void repairTimestamps(SVNWCContext wcContext, java.io.File localAbsPath) throws SVNException
- Throws:
SVNException
-
-