| com.atlassian.bitbucket.content.ChangeCallback | 
|  Known Indirect Subclasses | 
Describes a callback for receiving streaming changes.
 
 Implementations of this callback performing internal paging may return false from onChange(Change)
 to indicate no more changes are desired. Such implementations are encouraged to also implement the
 PagedCallback interface to allow the system to optimise output
 handling, where possible, based on the page being requested.
 
 Note: Implementors are strongly encouraged to extend from AbstractChangeCallback. This interface
 will change, over time, and any class implementing it directly will be broken by such changes. Extending from
 the abstract class will help prevent such breakages.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Provides a  changeto the callback for processing. | |||||||||||
| Called after the final  changehas been streamed. | |||||||||||
| Called before the first  changeis streamed. | |||||||||||
Provides a change to the callback for processing.
 
 If the callback is performing internal paging, it may signal the end of the page by returning false here.
 When doing so, onEnd(ChangeSummary) will never receive true for truncation.
| change | the change to process | 
|---|
true if additional changes should be provided; otherwise, false if the callback has
         received as many changes as desired| IOException | may be thrown by implementations which perform I/O | 
|---|
Called after the final change has been streamed.
 
 Note: If there were no changes, this method may be called immediately after onStart(ChangeContext)
 without any calls to onChange(Change).
| summary | summarizes the request and the streamed changes | 
|---|
| IOException | May be thrown by implementations which perform I/O. | 
|---|
Called before the first change is streamed.
| context | provides details about the request for which changes are being streamed | 
|---|
| IOException | May be thrown by implementations which perform I/O. | 
|---|