public class BeforeDfsPackIndexLoadedEvent extends RepositoryEvent<BeforeDfsPackIndexLoadedListener>
DfsPackFile
just before its index is loaded. Currently,
DfsPackFile directly dispatches the event on
Repository.getGlobalListenerList()
. Which means
the call to RepositoryEvent.getRepository()
will always return null.Constructor and Description |
---|
BeforeDfsPackIndexLoadedEvent(DfsPackFile pack)
A new event triggered before a PackFile index is loaded.
|
Modifier and Type | Method and Description |
---|---|
void |
dispatch(BeforeDfsPackIndexLoadedListener listener)
Dispatch this event to the given listener.
|
Class<BeforeDfsPackIndexLoadedListener> |
getListenerType() |
DfsPackFile |
getPackFile() |
getRepository, setRepository, toString
public BeforeDfsPackIndexLoadedEvent(DfsPackFile pack)
pack
- the packpublic DfsPackFile getPackFile()
public Class<BeforeDfsPackIndexLoadedListener> getListenerType()
getListenerType
in class RepositoryEvent<BeforeDfsPackIndexLoadedListener>
public void dispatch(BeforeDfsPackIndexLoadedListener listener)
RepositoryEvent
dispatch
in class RepositoryEvent<BeforeDfsPackIndexLoadedListener>
listener
- listener that wants this event.Copyright © 2016 Eclipse JGit Project. All rights reserved.