Class SvnNgPatch
- 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,SvnPatch>
-
- org.tmatesoft.svn.core.internal.wc2.ng.SvnNgPatch
-
- All Implemented Interfaces:
ISVNCanceller
,ISVNEventHandler
,ISvnOperationRunner<java.lang.Void,SvnPatch>
public class SvnNgPatch extends SvnNgOperationRunner<java.lang.Void,SvnPatch>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private class
SvnNgPatch.CanDeleteBaton
-
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 SvnNgPatch()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private void
applyPatches(java.io.File patchFile, java.io.File workingCopyDirectory, boolean dryRun, int stripCount, boolean reverse, boolean ignoreWhitespace, boolean removeTempFiles, SVNWCContext context)
private void
checkAncestorDelete(java.io.File deletedTarget, java.util.List<SVNPatchTargetInfo> targetsInfo, java.io.File applyRoot, SVNWCContext context, boolean dryRun)
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,SvnPatch>
- Throws:
SVNException
-
applyPatches
private void applyPatches(java.io.File patchFile, java.io.File workingCopyDirectory, boolean dryRun, int stripCount, boolean reverse, boolean ignoreWhitespace, boolean removeTempFiles, SVNWCContext context) throws SVNException, java.io.IOException
- Throws:
SVNException
java.io.IOException
-
checkAncestorDelete
private void checkAncestorDelete(java.io.File deletedTarget, java.util.List<SVNPatchTargetInfo> targetsInfo, java.io.File applyRoot, SVNWCContext context, boolean dryRun) throws SVNException
- Throws:
SVNException
-
-