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