public class SvnRemoteAnnotate extends SvnRemoteOperationRunner<SvnAnnotateItem,SvnAnnotate> implements ISVNAnnotateHandler
UNKNOWNNULL| Constructor and Description |
|---|
SvnRemoteAnnotate() |
| Modifier and Type | Method and Description |
|---|---|
void |
handleEOF()
Handles the EOF met after the document contents.
|
void |
handleLine(java.util.Date date,
long revision,
java.lang.String author,
java.lang.String line) |
void |
handleLine(java.util.Date date,
long revision,
java.lang.String author,
java.lang.String line,
java.util.Date mergedDate,
long mergedRevision,
java.lang.String mergedAuthor,
java.lang.String mergedPath,
int lineNumber)
Handles per line annotation information - that is information about
who last committed (changed) this line, the revision and timestamp when it was last
committed.
|
boolean |
handleRevision(java.util.Date date,
long revision,
java.lang.String author,
java.io.File contents)
Handles file information for a next revision.
|
boolean |
isApplicable(SvnAnnotate operation,
SvnWcGeneration wcGeneration)
Returns whether this runner is applicable for the operation on concrete working copy generation (1.7 or 1.6)
|
protected SvnAnnotateItem |
run() |
getRepositoryAccess, getWcGeneration, isRevisionLocalToWc, resetcheckCancelled, getOperation, getWcContext, handleEvent, handleEvent, run, setOperation, setWcContextpublic boolean isApplicable(SvnAnnotate operation, SvnWcGeneration wcGeneration) throws SVNException
ISvnOperationRunnerisApplicable in interface ISvnOperationRunner<SvnAnnotateItem,SvnAnnotate>isApplicable in class SvnRemoteOperationRunner<SvnAnnotateItem,SvnAnnotate>operation - operation that needs runnerwcGeneration - working copy generationtrue if the runner is applicable, otherwise falseSVNExceptionprotected SvnAnnotateItem run() throws SVNException
run in class SvnOperationRunner<SvnAnnotateItem,SvnAnnotate>SVNExceptionpublic void handleLine(java.util.Date date,
long revision,
java.lang.String author,
java.lang.String line,
java.util.Date mergedDate,
long mergedRevision,
java.lang.String mergedAuthor,
java.lang.String mergedPath,
int lineNumber)
throws SVNException
ISVNAnnotateHandlermergedDate, mergedRevision, mergedAuthor and
mergedPath will be set only if the corresponding method doAnnotate of
SVNLogClient was called with includeMergedRevisions set to true.
Otherwise they are irrelevant.
Note: if there is no blame information for this line, revision will be
invalid and author and date will be null.handleLine in interface ISVNAnnotateHandlerdate - the time moment when changes to line were committed
to the repositoryrevision - the revision the changes were committed toauthor - the person who did those changesline - a text line of the target file (on which
doAnnotate()
was invoked)mergedDate - date when merge changes occurredmergedRevision - revision in which merge changes occurredmergedAuthor - author of mergemergedPath - absolute repository path of the merged filelineNumber - number of the file line for which this information is annotatedSVNExceptionpublic boolean handleRevision(java.util.Date date,
long revision,
java.lang.String author,
java.io.File contents)
throws SVNException
ISVNAnnotateHandlerrevision as well.handleRevision in interface ISVNAnnotateHandlerdate - the time moment when changes to line were committed
to the repositoryrevision - the revision the changes were committed toauthor - the person who did those changescontents - temporary file with contents. This file shouldn't be used
as persistent reference as it will be overwritten after this method exits
and eventually deleted.revisionSVNExceptionpublic void handleLine(java.util.Date date,
long revision,
java.lang.String author,
java.lang.String line)
throws SVNException
handleLine in interface ISVNAnnotateHandlerSVNExceptionpublic void handleEOF()
ISVNAnnotateHandlerhandleEOF in interface ISVNAnnotateHandlerCopyright © 2004-2012 TMate Software Ltd. All Rights Reserved.