Class GitReferenceUpdated.GitReferenceUpdatedEvent
java.lang.Object
com.google.gerrit.server.extensions.events.GitReferenceUpdated.GitReferenceUpdatedEvent
- All Implemented Interfaces:
GerritEvent,GitBatchRefUpdateListener.UpdatedRef,GitReferenceUpdatedListener.Event,ProjectEvent
- Enclosing class:
GitReferenceUpdated
public static class GitReferenceUpdated.GitReferenceUpdatedEvent
extends Object
implements GitReferenceUpdatedListener.Event
-
Constructor Summary
ConstructorsConstructorDescriptionGitReferenceUpdatedEvent(Project.NameKey project, GitBatchRefUpdateListener.UpdatedRef updatedRef, AccountInfo updater) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.gerrit.extensions.events.GerritEvent
getInstanceId
-
Constructor Details
-
GitReferenceUpdatedEvent
public GitReferenceUpdatedEvent(Project.NameKey project, GitBatchRefUpdateListener.UpdatedRef updatedRef, AccountInfo updater)
-
-
Method Details
-
getProjectName
- Specified by:
getProjectNamein interfaceProjectEvent
-
getNotify
- Specified by:
getNotifyin interfaceGerritEvent
-
getRefName
- Specified by:
getRefNamein interfaceGitBatchRefUpdateListener.UpdatedRef
-
getOldObjectId
- Specified by:
getOldObjectIdin interfaceGitBatchRefUpdateListener.UpdatedRef
-
getNewObjectId
- Specified by:
getNewObjectIdin interfaceGitBatchRefUpdateListener.UpdatedRef
-
isCreate
public boolean isCreate()- Specified by:
isCreatein interfaceGitBatchRefUpdateListener.UpdatedRef
-
isDelete
public boolean isDelete()- Specified by:
isDeletein interfaceGitBatchRefUpdateListener.UpdatedRef
-
isNonFastForward
public boolean isNonFastForward()- Specified by:
isNonFastForwardin interfaceGitBatchRefUpdateListener.UpdatedRef
-
getUpdater
Description copied from interface:GitReferenceUpdatedListener.EventThe updater, could be null if it's the server.- Specified by:
getUpdaterin interfaceGitReferenceUpdatedListener.Event
-