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 NotifyHandling
getNotify()
String
getProjectName()
Set<String>
getRefNames()
Set<GitBatchRefUpdateListener.UpdatedRef>
getUpdatedRefs()
AccountInfo
getUpdater()
The updater, could be null if it's the server.String
toString()
-
-
-
Constructor Detail
-
GitBatchRefUpdateEvent
public GitBatchRefUpdateEvent(Project.NameKey project, Set<GitBatchRefUpdateListener.UpdatedRef> updatedRefs, AccountInfo updater)
-
-
Method Detail
-
getProjectName
public String getProjectName()
- Specified by:
getProjectName
in interfaceProjectEvent
-
getUpdatedRefs
public Set<GitBatchRefUpdateListener.UpdatedRef> getUpdatedRefs()
- Specified by:
getUpdatedRefs
in interfaceGitBatchRefUpdateListener.Event
-
getRefNames
public Set<String> getRefNames()
- Specified by:
getRefNames
in interfaceGitBatchRefUpdateListener.Event
-
getUpdater
public AccountInfo getUpdater()
Description copied from interface:GitBatchRefUpdateListener.Event
The updater, could be null if it's the server.- Specified by:
getUpdater
in interfaceGitBatchRefUpdateListener.Event
-
getNotify
public NotifyHandling getNotify()
- Specified by:
getNotify
in interfaceGerritEvent
-
-