public class SvnNgDiffSummarize extends SvnNgOperationRunner<SvnDiffStatus,SvnDiffSummarize>
Modifier and Type | Field and Description |
---|---|
private SvnNgRepositoryAccess |
repositoryAccess |
UNKNOWN
NULL
Constructor and Description |
---|
SvnNgDiffSummarize() |
Modifier and Type | Method and Description |
---|---|
private void |
checkDiffTargetExists(SVNURL url,
long revision,
long otherRevision,
SVNRepository repository) |
private static ISVNDiffStatusHandler |
createHandlerForReceiver(ISvnObjectReceiver<SvnDiffStatus> receiver) |
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 |
getDebugLog() |
protected SvnNgRepositoryAccess |
getRepositoryAccess() |
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) |
deleteDeleteFiles, getWcGeneration, matchesChangelist, reset, run, setRepositoryAccess
getFirstTarget, sleepForTimestamp
checkCancelled, getOperation, getWcContext, handleEvent, handleEvent, run, setOperation, setWcContext
private SvnNgRepositoryAccess repositoryAccess
public boolean isApplicable(SvnDiffSummarize operation, SvnWcGeneration wcGeneration) throws SVNException
ISvnOperationRunner
isApplicable
in interface ISvnOperationRunner<SvnDiffStatus,SvnDiffSummarize>
isApplicable
in class SvnLocalOperationRunner<SvnDiffStatus,SvnDiffSummarize>
operation
- operation that needs runnerwcGeneration
- working copy generationtrue
if the runner is applicable, otherwise false
SVNException
protected SvnDiffStatus run(SVNWCContext context) throws SVNException
run
in class SvnNgOperationRunner<SvnDiffStatus,SvnDiffSummarize>
SVNException
private void doDiff(SvnTarget target1, SVNRevision revision1, SvnTarget target2, SVNRevision revision2, SVNRevision pegRevision, SVNDepth depth, boolean useAncestry, ISVNDiffStatusHandler handler) throws SVNException
SVNException
private void doDiffURL(SVNURL url, java.io.File path, SVNRevision startRevision, SVNRevision endRevision, SVNRevision pegRevision, SVNDepth depth, boolean useAncestry, ISVNDiffStatusHandler handler) throws SVNException
SVNException
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
SVNException
private void doDiffReposWC(SvnTarget target1, SVNRevision revision1, SvnTarget target2, SVNRevision revision2, SVNRevision pegRevision, boolean reverse, SVNDepth depth, boolean useAncestry, ISVNDiffStatusHandler handler) throws SVNException
SVNException
private void doDiffWCWC(SvnTarget target1, SVNRevision revision1, SvnTarget target2, SVNRevision revision2, SVNDepth depth, boolean useAncestry, ISVNDiffStatusHandler handler) throws SVNException
SVNException
private SVNURL resolvePeggedDiffTargetUrl(SVNURL url, java.io.File path, SVNRevision pegRevision, SVNRevision revision) throws SVNException
SVNException
private void checkDiffTargetExists(SVNURL url, long revision, long otherRevision, SVNRepository repository) throws SVNException
SVNException
private ISVNDebugLog getDebugLog()
private long getRevisionNumber(SVNRevision revision1, SVNRepository repository1, SVNURL url1) throws SVNException
SVNException
private SVNURL getURL(java.io.File path1) throws SVNException
SVNException
protected SVNRepository createRepository(SVNURL url, java.io.File path, boolean mayReuse) throws SVNException
SVNException
private static ISVNDiffStatusHandler createHandlerForReceiver(ISvnObjectReceiver<SvnDiffStatus> receiver)
protected SvnNgRepositoryAccess getRepositoryAccess() throws SVNException
getRepositoryAccess
in class SvnNgOperationRunner<SvnDiffStatus,SvnDiffSummarize>
SVNException