Package org.tmatesoft.svn.core.wc2
Class SvnAnnotateItem
java.lang.Object
org.tmatesoft.svn.core.wc2.SvnAnnotateItem
Provides information for annotate item in
SvnAnnotate operation.- Version:
- 1.7
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Fileprivate booleanprivate booleanprivate booleanprivate Stringprivate intprivate Stringprivate longprivate SVNPropertiesprivate booleanprivate longprivate SVNProperties -
Constructor Summary
ConstructorsConstructorDescriptionSvnAnnotateItem(boolean isEof) SvnAnnotateItem(Date date, long revision, String author, File contents) Constructs and initializes an SvnAnnotateItem object with the specified parameters.SvnAnnotateItem(Date date, long revision, String author, String line, Date mergedDate, long mergedRevision, String mergedAuthor, String mergedPath, int lineNumber) Constructs and initializes an SvnAnnotateItem object with the specified parameters. -
Method Summary
Modifier and TypeMethodDescriptionprivate SVNPropertiescreateRevisionProperties(String author, Date date) Gets author of modification.private StringgetAuthor(SVNProperties revisionProperties) Gets contents of modification inFilegetDate()Gets date of modification.private DategetDate(SVNProperties revisionProperties) getLine()Gets modified line.intGets line number of modificationGets author of merge revision.Gets date of merge.Gets path of merge revision.longGets revision of merge.Gets properties of merge revision.booleanGets whether or not item was handled.longGets modification revision.Gets the properties of modification revision.booleanisEof()Gets whether or not end of file reached.booleanisLine()Gets whether or not item is line.booleanGets whether or not item is revision.voidsetReturnResult(boolean returnResult) Sets whether or not item was handled.
-
Field Details
-
revision
private long revision -
revisionProperties
-
mergedRevisionProperties
-
line
-
mergedRevision
private long mergedRevision -
mergedPath
-
lineNumber
private int lineNumber -
contents
-
isEof
private boolean isEof -
isRevision
private boolean isRevision -
isLine
private boolean isLine -
returnResult
private boolean returnResult
-
-
Constructor Details
-
SvnAnnotateItem
public SvnAnnotateItem(boolean isEof) -
SvnAnnotateItem
public SvnAnnotateItem(Date date, long revision, String author, String line, Date mergedDate, long mergedRevision, String mergedAuthor, String mergedPath, int lineNumber) Constructs and initializes an SvnAnnotateItem object with the specified parameters.- Parameters:
date- modification daterevision- modification revisionauthor- author of modificationline- modified linemergedDate- date of mergemergedRevision- revision of mergemergedAuthor- author of mergemergedPath- path of mergelineNumber- number of line
-
SvnAnnotateItem
Constructs and initializes an SvnAnnotateItem object with the specified parameters.- Parameters:
date- modification daterevision- revision of modificationauthor- author of modificationcontents- contents represented in file
-
-
Method Details
-
getDate
Gets date of modification.- Returns:
- date of modification
-
getRevision
public long getRevision()Gets modification revision.- Returns:
- modification revision
-
getRevisionProperties
Gets the properties of modification revision.- Returns:
- revision properties
-
getAuthor
Gets author of modification.- Returns:
- modification author
-
getMergedDate
Gets date of merge.- Returns:
- merge date
-
getLine
Gets modified line.- Returns:
- modified line
-
getMergedRevision
public long getMergedRevision()Gets revision of merge.- Returns:
- merge revision
-
getMergedRevisionProperties
Gets properties of merge revision.- Returns:
- merge revision properties
-
getMergedAuthor
Gets author of merge revision.- Returns:
- merge revision author
-
getMergedPath
Gets path of merge revision.- Returns:
- merge revision path
-
getLineNumber
public int getLineNumber()Gets line number of modification- Returns:
- line number of modification
-
getContents
Gets contents of modification inFile- Returns:
- modification contents
-
isEof
public boolean isEof()Gets whether or not end of file reached.- Returns:
trueif it is end of file, otherwisefalse
-
isLine
public boolean isLine()Gets whether or not item is line.- Returns:
trueif item is line, otherwisefalse
-
isRevision
public boolean isRevision()Gets whether or not item is revision.- Returns:
trueif item is revision, otherwisefalse
-
setReturnResult
public void setReturnResult(boolean returnResult) Sets whether or not item was handled.- Parameters:
returnResult-trueif item was handled, otherwisefalse
-
getReturnResult
public boolean getReturnResult()Gets whether or not item was handled.- Returns:
trueif item was handled, otherwisefalse
-
createRevisionProperties
-
getAuthor
-
getDate
-