java.lang.Object |
↳ |
com.atlassian.bitbucket.content.AbstractChangeCallback |
Class Overview
Convenience implementation of ChangeCallback
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(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
From interface
com.atlassian.bitbucket.content.ChangeCallback
|
Public Constructors
public
AbstractChangeCallback
()
Public Methods
public
boolean
onChange
(Change change)
Discards the provided Change
and returns true
to continue streaming.
Throws
IOException
| may be thrown by derived classes
|
public
void
onEnd
(ChangeSummary summary)
Parameters
summary
| summarizes the request and the streamed changes |
public
void
onStart
(ChangeContext context)
Called before the first change
is streamed.
Parameters
context
| provides details about the request for which changes are being streamed |