com.atlassian.bitbucket.codeinsights.annotation.InsightAnnotation |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
If present, represents the id in the external system.
| |||||||||||
Line at which the annotation would be displayed.
| |||||||||||
Callback link.
| |||||||||||
Message for the annotation.
| |||||||||||
Path of the file against which the annotation is created.
| |||||||||||
The report key of the report to which this annotation belongs
| |||||||||||
The severity of the annotation.
| |||||||||||
The type of an annotation.
| |||||||||||
If requested for a pull request, this property indicates that the file to which this annotation was added has
also been modified on the target branch of the pull request.
|
If present, represents the id in the external system.
Line at which the annotation would be displayed.
0
if annotation is for a file
Callback link. This link is typically a link back to the tool that produced the report. For the case of CI system it would link back to the build that produced the report.
empty()
if no link was stored
Path of the file against which the annotation is created. Note: If annotations were requested for a pull request, then this path will be the path of the file in the pull request, which may be different to the path of the file in the source branch.
The report key of the report to which this annotation belongs
The severity of the annotation.
If requested for a pull request, this property indicates that the file to which this annotation was added has
also been modified on the target branch of the pull request. If not requested in the context of a pull request,
then this value will always be false
.
true
if the file has been modified on the target branch of the pull request for which this
annotation was requested, false
otherwise.