Package org.eclipse.jgit.events
Class IndexChangedEvent
- java.lang.Object
-
- org.eclipse.jgit.events.RepositoryEvent<IndexChangedListener>
-
- org.eclipse.jgit.events.IndexChangedEvent
-
public class IndexChangedEvent extends RepositoryEvent<IndexChangedListener>
Describes a change to one or more paths in the index file.
-
-
Constructor Summary
Constructors Constructor Description IndexChangedEvent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
dispatch(IndexChangedListener listener)
Dispatch this event to the given listener.java.lang.Class<IndexChangedListener>
getListenerType()
-
Methods inherited from class org.eclipse.jgit.events.RepositoryEvent
getRepository, setRepository, toString
-
-
-
-
Method Detail
-
getListenerType
public java.lang.Class<IndexChangedListener> getListenerType()
- Specified by:
getListenerType
in classRepositoryEvent<IndexChangedListener>
- Returns:
- type of listener this event dispatches to.
-
dispatch
public void dispatch(IndexChangedListener listener)
Description copied from class:RepositoryEvent
Dispatch this event to the given listener.- Specified by:
dispatch
in classRepositoryEvent<IndexChangedListener>
- Parameters:
listener
- listener that wants this event.
-
-