| java.lang.Object |
| ↳ |
com.atlassian.stash.commit.AbstractCommitCallback |
Class Overview
Convenience implementation of CommitCallback that provides no-op implementations for all methods.
Summary
|
[Expand]
Inherited Methods |
From class
java.lang.Object
|
Object
|
clone()
|
|
boolean
|
equals(Object arg0)
|
|
void
|
finalize()
|
|
final
Class<?>
|
getClass()
|
|
int
|
hashCode()
|
|
final
void
|
notify()
|
|
final
void
|
notifyAll()
|
|
String
|
toString()
|
|
final
void
|
wait()
|
|
final
void
|
wait(long arg0, int arg1)
|
|
final
void
|
wait(long arg0)
|
|
From interface
com.atlassian.stash.commit.CommitCallback
|
Public Constructors
public
AbstractCommitCallback
()
Public Methods
public
boolean
onCommit
(Commit commit)
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.
Throws
| IOException
| may be thrown by derived classes
|
public
void
onEnd
(CommitSummary summary)
Throws
| IOException
| may be thrown by derived classes
|
public
void
onStart
(CommitContext context)
Called before the first commit is streamed.
Throws
| IOException
| may be thrown by derived classes
|