com.atlassian.bitbucket.repository.BranchCallback |
A callback for streaming branches
.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Called to process a
branch . | |||||||||||
Called after the final
branch has been streamed. | |||||||||||
Called before the first
branch is streamed. |
Called to process a branch
.
branch | the branch to stream |
---|
true
if further branches should be streamed; otherwise, false
to stop streaming
IOException |
---|
Called after the final branch
has been streamed.
Note: If there were no refs, this method may be called immediately after onStart(BranchContext)
without any calls to onBranch(Branch)
.
summary | summarizes the request and the streamed refs |
---|
IOException | May be thrown by implementations which perform I/O. |
---|
Called before the first branch
is streamed.
context | provides details about the request for which refs are being streamed |
---|
IOException | May be thrown by implementations which perform I/O. |
---|