java.lang.Object | |
↳ | com.atlassian.bitbucket.commit.AbstractCommitCallback |
Convenience implementation of CommitCallback
that provides no-op implementations for all methods.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Receives a fully-populated
commit for processing. | |||||||||||
Called after the final
commit has been streamed. | |||||||||||
Called before the first
commit is streamed. |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.atlassian.bitbucket.commit.CommitCallback
|
Receives a fully-populated commit
for processing.
This method will never be invoked before onStart(CommitContext)
, and if it is invoked
onEnd(CommitSummary)
is guaranteed to be invoked, whether the end happens because this
method returns false
or because the upstream sender runs out of commits.
commit | ignored |
---|
true
IOException | may be thrown by derived classes |
---|
Called after the final commit
has been streamed.
Note: If there were no commits, this method may be called immediately after onStart(CommitContext)
without any calls to onCommit(Commit)
.
summary | ignored |
---|
IOException | may be thrown by derived classes |
---|
Called before the first commit
is streamed.
context | ignored |
---|
IOException | may be thrown by derived classes |
---|