Class GitReferenceUpdated.GitBatchRefUpdateEvent
java.lang.Object
com.google.gerrit.server.extensions.events.GitReferenceUpdated.GitBatchRefUpdateEvent
- All Implemented Interfaces:
GerritEvent
,GitBatchRefUpdateListener.Event
,ProjectEvent
- Enclosing class:
GitReferenceUpdated
public static class GitReferenceUpdated.GitBatchRefUpdateEvent
extends Object
implements GitBatchRefUpdateListener.Event
Event to be fired when a Git reference has been updated.
-
Constructor Summary
ConstructorDescriptionGitBatchRefUpdateEvent
(Project.NameKey project, Set<GitBatchRefUpdateListener.UpdatedRef> updatedRefs, AccountInfo updater) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.gerrit.extensions.events.GerritEvent
getInstanceId
-
Constructor Details
-
GitBatchRefUpdateEvent
public GitBatchRefUpdateEvent(Project.NameKey project, Set<GitBatchRefUpdateListener.UpdatedRef> updatedRefs, AccountInfo updater)
-
-
Method Details
-
getProjectName
- Specified by:
getProjectName
in interfaceProjectEvent
-
getUpdatedRefs
- Specified by:
getUpdatedRefs
in interfaceGitBatchRefUpdateListener.Event
-
getRefNames
- Specified by:
getRefNames
in interfaceGitBatchRefUpdateListener.Event
-
getUpdater
Description copied from interface:GitBatchRefUpdateListener.Event
The updater, could be null if it's the server.- Specified by:
getUpdater
in interfaceGitBatchRefUpdateListener.Event
-
toString
-
getNotify
- Specified by:
getNotify
in interfaceGerritEvent
-