com.atlassian.bitbucket.comment.CommentThreadDiffAnchor |
The location in a diff a comment thread
is anchored to.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | NO_LINE |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
File type this anchor is anchored to in a diff.
| |||||||||||
The original path at which the
content pointed to by this anchor originated, or
empty() if the change was not one that produces a new path . | |||||||||||
An orphaned anchor point is out-of-date in the current state of a diff.
|
File type this anchor is anchored to in a diff.
The following relationship with getLineType()
occurs:
present
if this is a line anchor
present
if this is a line anchor
The original path at which the content pointed to
by this anchor originated, or
empty()
if the change was not one that produces a new path
.
true
, if this is a file comment anchor, i.e. an anchor associated with the whole file rather than
a particular line. true
implies that isLineAnchor()
returns false
.true
, if this is a line comment anchor, i.e. an anchor associated with a particular line in the
file. true
implies that isFileAnchor()
returns false
.An orphaned anchor point is out-of-date in the current state of a diff. E.g. the anchor points to a path that is no longer in scope of the pull request, because the changes to that file have been reverted on the source branch.
true
, if the anchor is orphaned, false
otherwise