Class SvnNgDiffSummarize
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<SvnDiffStatus,SvnDiffSummarize>
org.tmatesoft.svn.core.internal.wc2.ng.SvnNgDiffSummarize
- All Implemented Interfaces:
ISVNCanceller,ISVNEventHandler,ISvnOperationRunner<SvnDiffStatus,SvnDiffSummarize>
-
Field Summary
FieldsFields inherited from interface org.tmatesoft.svn.core.ISVNCanceller
NULLFields inherited from interface org.tmatesoft.svn.core.wc.ISVNEventHandler
UNKNOWN -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidcheckDiffTargetExists(SVNURL url, long revision, long otherRevision, SVNRepository repository) private static ISVNDiffStatusHandlerprotected SVNRepositorycreateRepository(SVNURL url, java.io.File path, boolean mayReuse) private voiddoDiff(SvnTarget target1, SVNRevision revision1, SvnTarget target2, SVNRevision revision2, SVNRevision pegRevision, SVNDepth depth, boolean useAncestry, ISVNDiffStatusHandler handler) private voiddoDiffReposRepos(SVNURL url1, java.io.File path1, SVNRevision revision1, SVNURL url2, java.io.File path2, SVNRevision revision2, SVNRevision pegRevision, SVNDepth depth, boolean useAncestry, ISVNDiffStatusHandler handler) private voiddoDiffReposWC(SvnTarget target1, SVNRevision revision1, SvnTarget target2, SVNRevision revision2, SVNRevision pegRevision, boolean reverse, SVNDepth depth, boolean useAncestry, ISVNDiffStatusHandler handler) private voiddoDiffURL(SVNURL url, java.io.File path, SVNRevision startRevision, SVNRevision endRevision, SVNRevision pegRevision, SVNDepth depth, boolean useAncestry, ISVNDiffStatusHandler handler) private voiddoDiffWCWC(SvnTarget target1, SVNRevision revision1, SvnTarget target2, SVNRevision revision2, SVNDepth depth, boolean useAncestry, ISVNDiffStatusHandler handler) private ISVNDebugLogprotected SvnNgRepositoryAccessprivate longgetRevisionNumber(SVNRevision revision1, SVNRepository repository1, SVNURL url1) private SVNURLgetURL(java.io.File path1) booleanisApplicable(SvnDiffSummarize operation, SvnWcGeneration wcGeneration) Returns whether this runner is applicable for the operation on concrete working copy generation (1.7 or 1.6)private SVNURLresolvePeggedDiffTargetUrl(SVNURL url, java.io.File path, SVNRevision pegRevision, SVNRevision revision) protected SvnDiffStatusrun(SVNWCContext context) Methods inherited from class org.tmatesoft.svn.core.internal.wc2.ng.SvnNgOperationRunner
deleteDeleteFiles, getWcGeneration, matchesChangelist, reset, run, setRepositoryAccessMethods inherited from class org.tmatesoft.svn.core.internal.wc2.SvnLocalOperationRunner
getFirstTarget, sleepForTimestampMethods inherited from class org.tmatesoft.svn.core.internal.wc2.SvnOperationRunner
checkCancelled, getOperation, getWcContext, handleEvent, handleEvent, run, setOperation, setWcContextMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
repositoryAccess
-
-
Constructor Details
-
SvnNgDiffSummarize
public SvnNgDiffSummarize()
-
-
Method Details
-
isApplicable
public boolean isApplicable(SvnDiffSummarize operation, SvnWcGeneration wcGeneration) throws SVNException Description copied from interface:ISvnOperationRunnerReturns whether this runner is applicable for the operation on concrete working copy generation (1.7 or 1.6)- Specified by:
isApplicablein interfaceISvnOperationRunner<SvnDiffStatus,SvnDiffSummarize> - Overrides:
isApplicablein classSvnLocalOperationRunner<SvnDiffStatus,SvnDiffSummarize> - Parameters:
operation- operation that needs runnerwcGeneration- working copy generation- Returns:
trueif the runner is applicable, otherwisefalse- Throws:
SVNException
-
run
- Specified by:
runin classSvnNgOperationRunner<SvnDiffStatus,SvnDiffSummarize> - Throws:
SVNException
-
doDiff
private void doDiff(SvnTarget target1, SVNRevision revision1, SvnTarget target2, SVNRevision revision2, SVNRevision pegRevision, SVNDepth depth, boolean useAncestry, ISVNDiffStatusHandler handler) throws SVNException - Throws:
SVNException
-
doDiffURL
private void doDiffURL(SVNURL url, java.io.File path, SVNRevision startRevision, SVNRevision endRevision, SVNRevision pegRevision, SVNDepth depth, boolean useAncestry, ISVNDiffStatusHandler handler) throws SVNException - Throws:
SVNException
-
doDiffReposRepos
private void doDiffReposRepos(SVNURL url1, java.io.File path1, SVNRevision revision1, SVNURL url2, java.io.File path2, SVNRevision revision2, SVNRevision pegRevision, SVNDepth depth, boolean useAncestry, ISVNDiffStatusHandler handler) throws SVNException - Throws:
SVNException
-
doDiffReposWC
private void doDiffReposWC(SvnTarget target1, SVNRevision revision1, SvnTarget target2, SVNRevision revision2, SVNRevision pegRevision, boolean reverse, SVNDepth depth, boolean useAncestry, ISVNDiffStatusHandler handler) throws SVNException - Throws:
SVNException
-
doDiffWCWC
private void doDiffWCWC(SvnTarget target1, SVNRevision revision1, SvnTarget target2, SVNRevision revision2, SVNDepth depth, boolean useAncestry, ISVNDiffStatusHandler handler) throws SVNException - Throws:
SVNException
-
resolvePeggedDiffTargetUrl
private SVNURL resolvePeggedDiffTargetUrl(SVNURL url, java.io.File path, SVNRevision pegRevision, SVNRevision revision) throws SVNException - Throws:
SVNException
-
checkDiffTargetExists
private void checkDiffTargetExists(SVNURL url, long revision, long otherRevision, SVNRepository repository) throws SVNException - Throws:
SVNException
-
getDebugLog
-
getRevisionNumber
private long getRevisionNumber(SVNRevision revision1, SVNRepository repository1, SVNURL url1) throws SVNException - Throws:
SVNException
-
getURL
- Throws:
SVNException
-
createRepository
protected SVNRepository createRepository(SVNURL url, java.io.File path, boolean mayReuse) throws SVNException - Throws:
SVNException
-
createHandlerForReceiver
private static ISVNDiffStatusHandler createHandlerForReceiver(ISvnObjectReceiver<SvnDiffStatus> receiver) -
getRepositoryAccess
- Overrides:
getRepositoryAccessin classSvnNgOperationRunner<SvnDiffStatus,SvnDiffSummarize> - Throws:
SVNException
-