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
Constructors Constructor Description GitBatchRefUpdateEvent(Project.NameKey project, Set<GitBatchRefUpdateListener.UpdatedRef> updatedRefs, AccountInfo updater)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NotifyHandlinggetNotify()StringgetProjectName()Set<String>getRefNames()Set<GitBatchRefUpdateListener.UpdatedRef>getUpdatedRefs()AccountInfogetUpdater()The updater, could be null if it's the server.StringtoString()
-
-
-
Constructor Detail
-
GitBatchRefUpdateEvent
public GitBatchRefUpdateEvent(Project.NameKey project, Set<GitBatchRefUpdateListener.UpdatedRef> updatedRefs, AccountInfo updater)
-
-
Method Detail
-
getProjectName
public String getProjectName()
- Specified by:
getProjectNamein interfaceProjectEvent
-
getUpdatedRefs
public Set<GitBatchRefUpdateListener.UpdatedRef> getUpdatedRefs()
- Specified by:
getUpdatedRefsin interfaceGitBatchRefUpdateListener.Event
-
getRefNames
public Set<String> getRefNames()
- Specified by:
getRefNamesin interfaceGitBatchRefUpdateListener.Event
-
getUpdater
public AccountInfo getUpdater()
Description copied from interface:GitBatchRefUpdateListener.EventThe updater, could be null if it's the server.- Specified by:
getUpdaterin interfaceGitBatchRefUpdateListener.Event
-
getNotify
public NotifyHandling getNotify()
- Specified by:
getNotifyin interfaceGerritEvent
-
-