Class AbstractRevisionEvent
- java.lang.Object
-
- com.google.gerrit.server.extensions.events.AbstractChangeEvent
-
- com.google.gerrit.server.extensions.events.AbstractRevisionEvent
-
- All Implemented Interfaces:
ChangeEvent
,GerritEvent
,RevisionEvent
public abstract class AbstractRevisionEvent extends AbstractChangeEvent implements RevisionEvent
Base class for all revision events.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractRevisionEvent(ChangeInfo change, RevisionInfo revision, AccountInfo who, Timestamp when, NotifyHandling notify)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RevisionInfo
getRevision()
Information about the revision.-
Methods inherited from class com.google.gerrit.server.extensions.events.AbstractChangeEvent
getChange, getNotify, getWhen, getWho
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.google.gerrit.extensions.events.ChangeEvent
getChange, getWhen, getWho
-
Methods inherited from interface com.google.gerrit.extensions.events.GerritEvent
getNotify
-
-
-
-
Constructor Detail
-
AbstractRevisionEvent
protected AbstractRevisionEvent(ChangeInfo change, RevisionInfo revision, AccountInfo who, Timestamp when, NotifyHandling notify)
-
-
Method Detail
-
getRevision
public RevisionInfo getRevision()
Description copied from interface:RevisionEvent
Information about the revision. Some fields might be null.- Specified by:
getRevision
in interfaceRevisionEvent
- See Also:
EventUtil
-
-