Add AccountInfo to the GitReferenceUpdatedListener.Event
Change-Id: I19d27885a5c75c7e22031e3f0e80fff33b20d7f6
This commit is contained in:

committed by
Yuxuan 'fishy' Wang

parent
f7d3a29ac5
commit
3b68afa0ca
@@ -14,7 +14,9 @@
|
||||
|
||||
package com.google.gerrit.extensions.events;
|
||||
|
||||
import com.google.gerrit.common.Nullable;
|
||||
import com.google.gerrit.extensions.annotations.ExtensionPoint;
|
||||
import com.google.gerrit.extensions.common.AccountInfo;
|
||||
|
||||
/** Notified when one or more references are modified. */
|
||||
@ExtensionPoint
|
||||
@@ -28,6 +30,10 @@ public interface GitReferenceUpdatedListener {
|
||||
boolean isCreate();
|
||||
boolean isDelete();
|
||||
boolean isNonFastForward();
|
||||
/**
|
||||
* The updater, could be null if it's the server.
|
||||
*/
|
||||
@Nullable AccountInfo getUpdater();
|
||||
}
|
||||
|
||||
void onGitReferenceUpdated(Event event);
|
||||
|
Reference in New Issue
Block a user