java.lang.Object |
↳ |
com.atlassian.bitbucket.repository.AbstractRefCallback |
Class Overview
Convenience implementation of RefCallback
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.repository.RefCallback
|
Public Constructors
public
AbstractRefCallback
()
Public Methods
public
void
onEnd
(RefSummary summary)
Called after the final ref
has been streamed.
Note: If there were no refs, this method may be called immediately after onStart(RefContext)
without
any calls to onRef(Ref)
.
Parameters
summary
| summarizes the request and the streamed refs |
public
boolean
onRef
(Ref ref)
Discards the provided ref
.
Returns
true
if further refs should be streamed; otherwise, false
to stop streaming
public
void
onStart
(RefContext context)
Called before the first ref
is streamed.
Parameters
context
| provides details about the request for which refs are being streamed |