Class AttentionSetObserver
java.lang.Object
com.google.gerrit.server.extensions.events.AttentionSetObserver
Helper class to fire an event when an attention set changes.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Event to be fired when an attention set changes -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoid
fire
(ChangeData changeData, AccountState accountState, AttentionSetUpdate update, Instant when) Notify all listening plugins
-
Field Details
-
DISABLED
-
-
Method Details
-
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
-