Class GitReferenceUpdated
- java.lang.Object
-
- com.google.gerrit.server.extensions.events.GitReferenceUpdated
-
public class GitReferenceUpdated extends Object
Helper class to fire an event when a Git reference has been updated.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GitReferenceUpdated.GitBatchRefUpdateEvent
Event to be fired when a Git reference has been updated.static class
GitReferenceUpdated.GitReferenceUpdatedEvent
static class
GitReferenceUpdated.UpdatedRef
-
Field Summary
Fields Modifier and Type Field Description static GitReferenceUpdated
DISABLED
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
fire(Project.NameKey project, String ref, org.eclipse.jgit.lib.ObjectId oldObjectId, org.eclipse.jgit.lib.ObjectId newObjectId, AccountState updater)
void
fire(Project.NameKey project, org.eclipse.jgit.lib.BatchRefUpdate batchRefUpdate, AccountState updater)
void
fire(Project.NameKey project, org.eclipse.jgit.lib.RefUpdate refUpdate, AccountState updater)
void
fire(Project.NameKey project, org.eclipse.jgit.lib.RefUpdate refUpdate, org.eclipse.jgit.transport.ReceiveCommand.Type type, AccountState updater)
void
fire(Project.NameKey project, org.eclipse.jgit.transport.ReceiveCommand cmd, AccountState updater)
-
-
-
Field Detail
-
DISABLED
public static final GitReferenceUpdated DISABLED
-
-
Method Detail
-
fire
public void fire(Project.NameKey project, org.eclipse.jgit.lib.RefUpdate refUpdate, org.eclipse.jgit.transport.ReceiveCommand.Type type, AccountState updater)
-
fire
public void fire(Project.NameKey project, org.eclipse.jgit.lib.RefUpdate refUpdate, AccountState updater)
-
fire
public void fire(Project.NameKey project, String ref, org.eclipse.jgit.lib.ObjectId oldObjectId, org.eclipse.jgit.lib.ObjectId newObjectId, AccountState updater)
-
fire
public void fire(Project.NameKey project, org.eclipse.jgit.transport.ReceiveCommand cmd, AccountState updater)
-
fire
public void fire(Project.NameKey project, org.eclipse.jgit.lib.BatchRefUpdate batchRefUpdate, AccountState updater)
-
-