diff options
author | David Ostrovsky <david@ostrovsky.org> | 2020-02-04 22:57:14 +0100 |
---|---|---|
committer | David Ostrovsky <david@ostrovsky.org> | 2020-02-04 22:58:29 +0100 |
commit | 5edf70ec116809366f401b11e6d2f595aafe55d3 (patch) | |
tree | bbc8278d761d42140f740b0d97f941160bb12575 | |
parent | b88351bc938cad7e4b9548e7141bbc4e3be09603 (diff) |
Fix method name to register custom event types in plugins
Change-Id: I6dd2035de403e3d6ce1d7c78634a3a0ffd8feff1
-rw-r--r-- | Documentation/dev-plugins.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Documentation/dev-plugins.txt b/Documentation/dev-plugins.txt index 64cae2d5a6..a80b4b55f3 100644 --- a/Documentation/dev-plugins.txt +++ b/Documentation/dev-plugins.txt @@ -474,9 +474,9 @@ class MyPlugin { ---- Plugins which define new Events should register them via the -`com.google.gerrit.server.events.EventTypes.registerClass()` -method. This will make the EventType known to the system. -Deserializing events with the +`com.google.gerrit.server.events.EventTypes.register()` method. +This will make the EventType known to the system. Deserializing +events with the `com.google.gerrit.server.events.EventDeserializer` class requires that the event be registered in EventTypes. |