com.atlassian.bitbucket.scm.bulk.BulkContentCallback |
Callback for streamed file content.
Note that there is no guarantee about the order in which the files are handed to the callback.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
For each added, modified or deleted file, this method is called once with the metadata.
| |||||||||||
Called at the end.
| |||||||||||
For each file where the content was requested with
accept(BulkFile) , this method is called. | |||||||||||
Called before any other methods are called.
|
For each added, modified or deleted file, this method is called once with the metadata. This allows the callback
to request content if it's interested in it or stop processing. If the callback signals that it wants the file's
content, it will be provided to onFile(BulkFile, InputStream)
.
file | information about the file |
---|
Called at the end.
summary | provides details about the command execution |
---|
For each file where the content was requested with accept(BulkFile)
, this method is called.
file | information about the file |
---|---|
content | the input stream of the contents; must be consumed before method returns (it won't stay usable after) |
Called before any other methods are called.
context | provides details about the request |
---|