protected static class

AbstractInsightResource.RestAnnotationCallback

extends Object
implements AnnotationCallback
java.lang.Object
   ↳ com.atlassian.bitbucket.internal.codeinsights.rest.AbstractInsightResource.RestAnnotationCallback

Summary

Fields
protected final StatefulJsonWriter writer
Public Constructors
RestAnnotationCallback(StatefulJsonWriter writer)
Public Methods
boolean onAnnotation(InsightAnnotation annotation)
void onEnd(boolean truncated)
void onStart(int totalAnnotationCount)
Protected Methods
void beforeEndObject(boolean truncated)
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.bitbucket.codeinsights.annotation.AnnotationCallback

Fields

protected final StatefulJsonWriter writer

Public Constructors

public RestAnnotationCallback (StatefulJsonWriter writer)

Public Methods

public boolean onAnnotation (InsightAnnotation annotation)

public void onEnd (boolean truncated)

public void onStart (int totalAnnotationCount)

Protected Methods

protected void beforeEndObject (boolean truncated)

Throws
IOException