public interface Blame
Modifier and Type | Method and Description |
---|---|
Person |
getAuthor()
The author who last updated the lines in the span.
|
Date |
getAuthorTimestamp()
The timestamp at which the author committed the revision.
|
String |
getCommitDisplayId()
A shorted version of the commit hash for the revision, suitable for display.
|
String |
getCommitId()
The full commit hash for the revision.
|
default Person |
getCommitter()
The committer who last updated the lines in the span.
|
default Date |
getCommitterTimestamp()
The timestamp at which the committer created the revision.
|
String |
getFileName()
The name the file had when the lines in the span were updated, which may not match the file's current name.
|
int |
getLineNumber()
The 1-based line number in the file at which this span of blame begins.
|
int |
getSpannedLines()
The number of lines in the span, to which the same blame information (author, commit hash, etc.) applies.
|
@Nonnull Person getAuthor()
@Nonnull Date getAuthorTimestamp()
@Nonnull default Person getCommitter()
@Nonnull default Date getCommitterTimestamp()
@Nonnull String getCommitId()
@Nonnull String getCommitDisplayId()
@Nonnull String getFileName()
int getLineNumber()
int getSpannedLines()
0
for an empty file.Copyright © 2020 Atlassian. All rights reserved.