Interface LineInfo
-
- All Superinterfaces:
VCSModelElement
public interface LineInfo extends VCSModelElement
Stores the commit information of a single line of aVCSFile
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getAuthor()
Returns the author of this line.java.lang.String
getContent()
Returns the content of this line.java.time.LocalDateTime
getDateTime()
Returns the datetime of this line.VCSFile
getFile()
Returns the file this line belongs to.java.lang.String
getId()
Returns the commit id of this line.int
getLine()
Returns the line number (1 origin).java.lang.String
getMessage()
Returns the commit message of this line.-
Methods inherited from interface de.unibremen.informatik.st.libvcs4j.VCSModelElement
getVCSEngine
-
-
-
-
Method Detail
-
getId
java.lang.String getId()
Returns the commit id of this line.- Returns:
- The commit id of this line.
- See Also:
Commit.getId()
-
getAuthor
java.lang.String getAuthor()
Returns the author of this line.- Returns:
- The author of this line.
- See Also:
Commit.getAuthor()
-
getMessage
java.lang.String getMessage()
Returns the commit message of this line.- Returns:
- The commit message of this line.
- See Also:
Commit.getMessage()
-
getDateTime
java.time.LocalDateTime getDateTime()
Returns the datetime of this line.- Returns:
- The datetime of this line.
- See Also:
Commit.getDateTime()
-
getLine
int getLine()
Returns the line number (1 origin).- Returns:
- The line number (1 origin).
-
getContent
java.lang.String getContent()
Returns the content of this line.- Returns:
- The content of this line.
-
getFile
VCSFile getFile()
Returns the file this line belongs to.- Returns:
- The file this line change belongs to.
-
-