Class AttentionSetObserver
- java.lang.Object
-
- com.google.gerrit.server.extensions.events.AttentionSetObserver
-
public class AttentionSetObserver extends Object
Helper class to fire an event when an attention set changes.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AttentionSetObserver.Event
Event to be fired when an attention set changes
-
Field Summary
Fields Modifier and Type Field Description static AttentionSetObserver
DISABLED
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
fire(ChangeData changeData, AccountState accountState, AttentionSetUpdate update, Instant when)
Notify all listening plugins
-
-
-
Field Detail
-
DISABLED
public static final AttentionSetObserver DISABLED
-
-
Method Detail
-
fire
public void fire(ChangeData changeData, AccountState accountState, AttentionSetUpdate update, Instant when)
Notify all listening plugins- Parameters:
changeData
- is current data of the changeaccountState
- is the initiator of the changeupdate
- is the update that caused the eventwhen
- is the time of the event
-
-