Class AttentionSetObserver.Event
java.lang.Object
com.google.gerrit.server.extensions.events.AbstractChangeEvent
com.google.gerrit.server.extensions.events.AttentionSetObserver.Event
- All Implemented Interfaces:
AttentionSetListener.Event
,ChangeEvent
,GerritEvent
- Enclosing class:
- AttentionSetObserver
public static class AttentionSetObserver.Event
extends AbstractChangeEvent
implements AttentionSetListener.Event
Event to be fired when an attention set changes
-
Constructor Summary
ConstructorsConstructorDescriptionEvent
(ChangeInfo change, AccountInfo editor, Set<Integer> added, Set<Integer> removed, Instant when) -
Method Summary
Modifier and TypeMethodDescriptionReturns the users added to the attention set because of this changeReturns the users removed from the attention set because of this changeMethods 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 Details
-
Event
public Event(ChangeInfo change, AccountInfo editor, Set<Integer> added, Set<Integer> removed, Instant when)
-
-
Method Details
-
usersAdded
Description copied from interface:AttentionSetListener.Event
Returns the users added to the attention set because of this change- Specified by:
usersAdded
in interfaceAttentionSetListener.Event
- Returns:
- Account IDs
-
usersRemoved
Description copied from interface:AttentionSetListener.Event
Returns the users removed from the attention set because of this change- Specified by:
usersRemoved
in interfaceAttentionSetListener.Event
- Returns:
- Account IDs
-