java.lang.Object | |
↳ | com.atlassian.bitbucket.content.AbstractContentTreeCallback |
Convenience implementation of ContentTreeCallback
that provides no-op implementations for all methods.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Called after the final
tree node has been streamed. | |||||||||||
Called before the first
onTreeNode(ContentTreeNode) . | |||||||||||
Discards the provided
ContentTreeNode and returns true to continue streaming. |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.atlassian.bitbucket.content.ContentTreeCallback
|
Called after the final tree node
has been streamed.
Note: If the tree was empty, this method may be called immediately after onStart(ContentTreeContext)
without any calls to onTreeNode(ContentTreeNode)
.
summary | summarizes the tree request and the streamed nodes |
---|
IOException |
---|
Called before the first onTreeNode(ContentTreeNode)
.
context | provides details about the tree request for which nodes are being streamed |
---|
IOException |
---|
Discards the provided ContentTreeNode
and returns true
to continue streaming.
node | the current tree node |
---|
true
if further nodes should be streamed; otherwise, false
to stop streaming
IOException |
---|