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
NULL
Fields inherited from interface org.tmatesoft.svn.core.wc.ISVNEventHandler
UNKNOWN
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate void
checkDiffTargetExists
(SVNURL url, long revision, long otherRevision, SVNRepository repository) private static ISVNDiffStatusHandler
protected SVNRepository
createRepository
(SVNURL url, java.io.File path, boolean mayReuse) private void
doDiff
(SvnTarget target1, SVNRevision revision1, SvnTarget target2, SVNRevision revision2, SVNRevision pegRevision, SVNDepth depth, boolean useAncestry, ISVNDiffStatusHandler handler) 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) private void
doDiffReposWC
(SvnTarget target1, SVNRevision revision1, SvnTarget target2, SVNRevision revision2, SVNRevision pegRevision, boolean reverse, SVNDepth depth, boolean useAncestry, ISVNDiffStatusHandler handler) private void
doDiffURL
(SVNURL url, java.io.File path, SVNRevision startRevision, SVNRevision endRevision, SVNRevision pegRevision, SVNDepth depth, boolean useAncestry, ISVNDiffStatusHandler handler) private void
doDiffWCWC
(SvnTarget target1, SVNRevision revision1, SvnTarget target2, SVNRevision revision2, SVNDepth depth, boolean useAncestry, ISVNDiffStatusHandler handler) private ISVNDebugLog
protected SvnNgRepositoryAccess
private long
getRevisionNumber
(SVNRevision revision1, SVNRepository repository1, SVNURL url1) private SVNURL
getURL
(java.io.File path1) boolean
isApplicable
(SvnDiffSummarize operation, SvnWcGeneration wcGeneration) Returns whether this runner is applicable for the operation on concrete working copy generation (1.7 or 1.6)private SVNURL
resolvePeggedDiffTargetUrl
(SVNURL url, java.io.File path, SVNRevision pegRevision, SVNRevision revision) protected SvnDiffStatus
run
(SVNWCContext context) Methods inherited from class org.tmatesoft.svn.core.internal.wc2.ng.SvnNgOperationRunner
deleteDeleteFiles, getWcGeneration, matchesChangelist, reset, run, setRepositoryAccess
Methods inherited from class org.tmatesoft.svn.core.internal.wc2.SvnLocalOperationRunner
getFirstTarget, sleepForTimestamp
Methods inherited from class org.tmatesoft.svn.core.internal.wc2.SvnOperationRunner
checkCancelled, getOperation, getWcContext, handleEvent, handleEvent, run, setOperation, setWcContext
Methods 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:ISvnOperationRunner
Returns whether this runner is applicable for the operation on concrete working copy generation (1.7 or 1.6)- Specified by:
isApplicable
in interfaceISvnOperationRunner<SvnDiffStatus,
SvnDiffSummarize> - Overrides:
isApplicable
in classSvnLocalOperationRunner<SvnDiffStatus,
SvnDiffSummarize> - Parameters:
operation
- operation that needs runnerwcGeneration
- working copy generation- Returns:
true
if the runner is applicable, otherwisefalse
- Throws:
SVNException
-
run
- Specified by:
run
in 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:
getRepositoryAccess
in classSvnNgOperationRunner<SvnDiffStatus,
SvnDiffSummarize> - Throws:
SVNException
-