com.atlassian.bitbucket.codeinsights.annotation.AnnotationCallback |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Called once for every annotation produced by search criteria provided to the streaming API.
| |||||||||||
Called just after the system finishes streaming
annotations . | |||||||||||
Called just before the system starts streaming
annotations |
Called once for every annotation produced by search criteria provided to the streaming API.
annotation | an annotation matching the search criteria |
---|
true
if more annotations should be streamed. false
to stop the streaming
Called just after the system finishes streaming annotations
.
truncated | If annotations were requested in the context of a pull request, then this property indicates that the pull request diff was too large to process and has been truncated. This can mean that some annotations were not provided to the annotation callback that theoretically should have been. |
---|
Called just before the system starts streaming annotations
totalAnnotationCount | number of annotations recorded for a commit. For pull requests this may be a number larger than the annotations streamed. For a commit they will always be the same |
---|