Document how plugins can listen to stream-events
Change-Id: I7db0cab69eb0087ccac186b8ae258ad06eb37ac6 Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
This commit is contained in:
@@ -52,6 +52,7 @@ The currently supported message types are *patchset-created*,
|
|||||||
Note that any field may be missing in the JSON messages, so consumers of
|
Note that any field may be missing in the JSON messages, so consumers of
|
||||||
this JSON stream should deal with that appropriately.
|
this JSON stream should deal with that appropriately.
|
||||||
|
|
||||||
|
[[events]]
|
||||||
Events
|
Events
|
||||||
~~~~~~
|
~~~~~~
|
||||||
Patchset Created
|
Patchset Created
|
||||||
|
@@ -323,6 +323,12 @@ Certain operations in Gerrit trigger events. Plugins may receive
|
|||||||
notifications of these events by implementing the corresponding
|
notifications of these events by implementing the corresponding
|
||||||
listeners.
|
listeners.
|
||||||
|
|
||||||
|
* `com.google.gerrit.common.ChangeListener`:
|
||||||
|
+
|
||||||
|
Allows to listen to change events. These are the same
|
||||||
|
link:cmd-stream-events.html#events[events] that are also streamed by
|
||||||
|
the link:cmd-stream-events.html[gerrit stream-events] command.
|
||||||
|
|
||||||
* `com.google.gerrit.extensions.events.LifecycleListener`:
|
* `com.google.gerrit.extensions.events.LifecycleListener`:
|
||||||
+
|
+
|
||||||
Gerrit server startup and shutdown
|
Gerrit server startup and shutdown
|
||||||
|
Reference in New Issue
Block a user