Add documentation for the emailReviewers capability.
Just realised that the docs were missing. Most of the added docs are copied from the javadoc in the GlobalCapability.java. Also fix the javadoc as emailing those who starred the change is done regardless of the emailReviewers capability. Change-Id: I12a331e8408da0ca5284344b4cc1a69e2beb3461 Signed-off-by: Sasa Zivkov <sasa.zivkov@sap.com>
This commit is contained in:
@@ -42,12 +42,13 @@ public class GlobalCapability {
|
||||
public static final String CREATE_PROJECT = "createProject";
|
||||
|
||||
/**
|
||||
* Denotes who may email change reviewers.
|
||||
* Denotes who may email change reviewers and watchers.
|
||||
* <p>
|
||||
* This can be used to deny build bots from emailing reviewers and people who
|
||||
* have starred the changed. Instead, only the authors of the change will be
|
||||
* emailed. The allow rules are evaluated before deny rules, however the
|
||||
* default is to allow emailing, if no explicit rule is matched.
|
||||
* watch the change. Instead, only the authors of the change and those who
|
||||
* starred it will be emailed. The allow rules are evaluated before deny
|
||||
* rules, however the default is to allow emailing, if no explicit rule is
|
||||
* matched.
|
||||
*/
|
||||
public static final String EMAIL_REVIEWERS = "emailReviewers";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user