diff options
Diffstat (limited to 'gerrit-common/src/main/java/com/google/gerrit/common/data/GlobalCapability.java')
-rw-r--r-- | gerrit-common/src/main/java/com/google/gerrit/common/data/GlobalCapability.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gerrit-common/src/main/java/com/google/gerrit/common/data/GlobalCapability.java b/gerrit-common/src/main/java/com/google/gerrit/common/data/GlobalCapability.java index 7db691d2d6..8c08feb67e 100644 --- a/gerrit-common/src/main/java/com/google/gerrit/common/data/GlobalCapability.java +++ b/gerrit-common/src/main/java/com/google/gerrit/common/data/GlobalCapability.java @@ -73,6 +73,9 @@ public class GlobalCapability { /** Forcefully restart replication to any configured destination. */ public static final String START_REPLICATION = "startReplication"; + /** Can perform streaming of Gerrit events. */ + public static final String STREAM_EVENTS = "streamEvents"; + /** Can view the server's current cache states. */ public static final String VIEW_CACHES = "viewCaches"; @@ -99,6 +102,7 @@ public class GlobalCapability { NAMES_ALL.add(QUERY_LIMIT); NAMES_ALL.add(RUN_GC); NAMES_ALL.add(START_REPLICATION); + NAMES_ALL.add(STREAM_EVENTS); NAMES_ALL.add(VIEW_CACHES); NAMES_ALL.add(VIEW_CONNECTIONS); NAMES_ALL.add(VIEW_QUEUE); |