T - type of listener this event dispatches to.public abstract class RepositoryEvent<T extends RepositoryListener> extends Object
| Constructor and Description | 
|---|
RepositoryEvent()  | 
| Modifier and Type | Method and Description | 
|---|---|
abstract void | 
dispatch(T listener)
Dispatch this event to the given listener. 
 | 
abstract Class<T> | 
getListenerType()  | 
Repository | 
getRepository()  | 
void | 
setRepository(Repository r)
Set the repository this event occurred on. 
 | 
String | 
toString()  | 
public void setRepository(Repository r)
 This method should only be invoked once on each event object, and is
 automatically set by Repository.fireEvent(RepositoryEvent).
r - the repository.public Repository getRepository()
public abstract Class<T> getListenerType()
public abstract void dispatch(T listener)
listener - listener that wants this event.Copyright © 2015 Eclipse JGit Project. All rights reserved.