Package org.tmatesoft.svn.core.wc2
Class SvnAnnotateItem
- java.lang.Object
-
- org.tmatesoft.svn.core.wc2.SvnAnnotateItem
-
public class SvnAnnotateItem extends java.lang.Object
Provides information for annotate item inSvnAnnotate
operation.- Version:
- 1.7
- Author:
- TMate Software Ltd.
-
-
Constructor Summary
Constructors Constructor Description SvnAnnotateItem(boolean isEof)
SvnAnnotateItem(java.util.Date date, long revision, java.lang.String author, java.io.File contents)
Constructs and initializes an SvnAnnotateItem object with the specified parameters.SvnAnnotateItem(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)
Constructs and initializes an SvnAnnotateItem object with the specified parameters.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getAuthor()
Gets author of modification.java.io.File
getContents()
Gets contents of modification inFile
java.util.Date
getDate()
Gets date of modification.java.lang.String
getLine()
Gets modified line.int
getLineNumber()
Gets line number of modificationjava.lang.String
getMergedAuthor()
Gets author of merge revision.java.util.Date
getMergedDate()
Gets date of merge.java.lang.String
getMergedPath()
Gets path of merge revision.long
getMergedRevision()
Gets revision of merge.SVNProperties
getMergedRevisionProperties()
Gets properties of merge revision.boolean
getReturnResult()
Gets whether or not item was handled.long
getRevision()
Gets modification revision.SVNProperties
getRevisionProperties()
Gets the properties of modification revision.boolean
isEof()
Gets whether or not end of file reached.boolean
isLine()
Gets whether or not item is line.boolean
isRevision()
Gets whether or not item is revision.void
setReturnResult(boolean returnResult)
Sets whether or not item was handled.
-
-
-
Constructor Detail
-
SvnAnnotateItem
public SvnAnnotateItem(boolean isEof)
-
SvnAnnotateItem
public SvnAnnotateItem(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)
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
public SvnAnnotateItem(java.util.Date date, long revision, java.lang.String author, java.io.File contents)
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 Detail
-
getDate
public java.util.Date getDate()
Gets date of modification.- Returns:
- date of modification
-
getRevision
public long getRevision()
Gets modification revision.- Returns:
- modification revision
-
getRevisionProperties
public SVNProperties getRevisionProperties()
Gets the properties of modification revision.- Returns:
- revision properties
-
getAuthor
public java.lang.String getAuthor()
Gets author of modification.- Returns:
- modification author
-
getMergedDate
public java.util.Date getMergedDate()
Gets date of merge.- Returns:
- merge date
-
getLine
public java.lang.String getLine()
Gets modified line.- Returns:
- modified line
-
getMergedRevision
public long getMergedRevision()
Gets revision of merge.- Returns:
- merge revision
-
getMergedRevisionProperties
public SVNProperties getMergedRevisionProperties()
Gets properties of merge revision.- Returns:
- merge revision properties
-
getMergedAuthor
public java.lang.String getMergedAuthor()
Gets author of merge revision.- Returns:
- merge revision author
-
getMergedPath
public java.lang.String 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
public java.io.File getContents()
Gets contents of modification inFile
- Returns:
- modification contents
-
isEof
public boolean isEof()
Gets whether or not end of file reached.- Returns:
true
if it is end of file, otherwisefalse
-
isLine
public boolean isLine()
Gets whether or not item is line.- Returns:
true
if item is line, otherwisefalse
-
isRevision
public boolean isRevision()
Gets whether or not item is revision.- Returns:
true
if item is revision, otherwisefalse
-
setReturnResult
public void setReturnResult(boolean returnResult)
Sets whether or not item was handled.- Parameters:
returnResult
-true
if item was handled, otherwisefalse
-
getReturnResult
public boolean getReturnResult()
Gets whether or not item was handled.- Returns:
true
if item was handled, otherwisefalse
-
-