Class AbstractChangeEvent
- java.lang.Object
-
- com.google.gerrit.server.extensions.events.AbstractChangeEvent
-
- All Implemented Interfaces:
ChangeEvent
,GerritEvent
- Direct Known Subclasses:
AbstractRevisionEvent
public abstract class AbstractChangeEvent extends Object implements ChangeEvent
Base class for all change events.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractChangeEvent(ChangeInfo change, AccountInfo who, Timestamp when, NotifyHandling notify)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ChangeInfo
getChange()
Information about the change.NotifyHandling
getNotify()
Timestamp
getWhen()
AccountInfo
getWho()
-
-
-
Constructor Detail
-
AbstractChangeEvent
protected AbstractChangeEvent(ChangeInfo change, AccountInfo who, Timestamp when, NotifyHandling notify)
-
-
Method Detail
-
getChange
public ChangeInfo getChange()
Description copied from interface:ChangeEvent
Information about the change. Some fields might be null.- Specified by:
getChange
in interfaceChangeEvent
- See Also:
EventUtil
-
getWho
public AccountInfo getWho()
- Specified by:
getWho
in interfaceChangeEvent
-
getWhen
public Timestamp getWhen()
- Specified by:
getWhen
in interfaceChangeEvent
-
getNotify
public NotifyHandling getNotify()
- Specified by:
getNotify
in interfaceGerritEvent
-
-