java.lang.Object | |||
↳ | com.atlassian.bitbucket.util.BuilderSupport | ||
↳ | com.atlassian.bitbucket.codeinsights.AbstractInsightsBuilder | ||
↳ | com.atlassian.bitbucket.codeinsights.annotation.SingleAddInsightAnnotationRequest.Builder |
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.atlassian.bitbucket.util.BuilderSupport
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Create a new builder to create a new annotation.
| |||||||||||
Create a new builder to create a new annotation, setting all fields to the values of the given annotation
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Id in the external system.
| |||||||||||
Set the line for this annotation
| |||||||||||
Deep-link to the annotation in the application that produced it.
| |||||||||||
Set the message for this annotation
| |||||||||||
Set the path for this annotation.
| |||||||||||
Set the severity for this annotation.
| |||||||||||
Set the type for this annotation
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.atlassian.bitbucket.codeinsights.AbstractInsightsBuilder
| |||||||||||
From class
com.atlassian.bitbucket.util.BuilderSupport
| |||||||||||
From class
java.lang.Object
|
Create a new builder to create a new annotation. By default the annotation will be created with a LOW severity.
line | line in the file that this annotation applies to. Must be a value greater or equal to 0. A value of 0 indicates it is a file level annotation. |
---|---|
message | message for the annotation |
path | relative path to the file for this this annotation applies |
Create a new builder to create a new annotation, setting all fields to the values of the given annotation
annotation | The annotation to create |
---|
Id in the external system. This is optional but if present allows for easy update/delete operations of the annotation.
value | external id |
---|
Set the line for this annotation
value | the new line |
---|
Deep-link to the annotation in the application that produced it.
value | full link to the remote tool |
---|
Set the message for this annotation
value | the new message |
---|
Set the path for this annotation.
value | the new path |
---|
Set the severity for this annotation.
value | the new severity |
---|
Set the type for this annotation
value | the new type |
---|