org.eclipse.jgit.internal.storage.dfs.DfsPackFile just
before its index is loaded. Currently, DfsPackFile directly dispatches the
event on org.eclipse.jgit.lib.Repository#getGlobalListenerList . Which
means the call to getRepository will always return null.
| Modifier and Type | Field and Description |
|---|---|
| private final DfsPackFile |
| Access | Constructor and Description |
|---|---|
| public | BeforeDfsPackIndexLoadedEvent(DfsPackFile
the pack pack)A new event triggered before a PackFile index is loaded. |
| Modifier and Type | Method and Description |
|---|---|
| public void | dispatch(BeforeDfsPackIndexLoadedListener
listener that wants this event. listener)Implements abstract org. Dispatch this event to the given listener. |
| public Class | getListenerType()
Implements abstract org. Get type of listener this event dispatches to |
| public DfsPackFile | Returns: the PackFile containing the index that will be loaded.Get the PackFile containing the index that will be loaded. |
| pack | back to summary |
|---|---|
| private final DfsPackFile pack | |
| BeforeDfsPackIndexLoadedEvent | back to summary |
|---|---|
| public BeforeDfsPackIndexLoadedEvent(DfsPackFile pack) A new event triggered before a PackFile index is loaded.
| |
| dispatch | back to summary |
|---|---|
| public void dispatch(BeforeDfsPackIndexLoadedListener listener) Implements abstract org. Doc from org. Dispatch this event to the given listener.
| |
| getListenerType | back to summary |
|---|---|
| public Class Implements abstract org. Doc from org. Get type of listener this event dispatches to
| |
| getPackFile | back to summary |
|---|---|
| public DfsPackFile getPackFile() Get the PackFile containing the index that will be loaded.
| |