Adapt InitRTC init step to API change in the InitIts init step

With change [1] in plugins/its-base support for configuring branches
for the RTC integration during init was added. Due to this change the
InitRTC init step needs to be adapted.

In addition update the example of the plugin initialisation in the
documentation because with change [1] there is now an additional
question during init for configuring the branches.

[1] https://gerrit-review.googlesource.com/53690

Change-Id: I8e15fde9a40d3f7d64779ae17941d04307b7cc48
Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
diff --git a/src/main/java/com/googlesource/gerrit/plugins/hooks/rtc/InitRTC.java b/src/main/java/com/googlesource/gerrit/plugins/hooks/rtc/InitRTC.java
index 149fea0..6cc0639 100644
--- a/src/main/java/com/googlesource/gerrit/plugins/hooks/rtc/InitRTC.java
+++ b/src/main/java/com/googlesource/gerrit/plugins/hooks/rtc/InitRTC.java
@@ -15,6 +15,7 @@
 
 import com.google.gerrit.extensions.annotations.PluginName;
 import com.google.gerrit.pgm.init.AllProjectsConfig;
+import com.google.gerrit.pgm.init.AllProjectsNameOnInitProvider;
 import com.google.gerrit.pgm.init.Section;
 import com.google.gerrit.pgm.util.ConsoleUI;
 import com.google.inject.Inject;
@@ -41,10 +42,11 @@
   private String rtcPassword;
 
   @Inject
-  InitRTC(@PluginName String pluginName, ConsoleUI ui, Section.Factory sections,
-      AllProjectsConfig allProjectsConfig) {
+  InitRTC(@PluginName String pluginName, ConsoleUI ui,
+      Section.Factory sections, AllProjectsConfig allProjectsConfig,
+      AllProjectsNameOnInitProvider allProjects) {
     super(pluginName, "IBM Rational Team Concert", ui,
-        allProjectsConfig);
+        allProjectsConfig, allProjects);
     this.pluginName = pluginName;
     this.sections = sections;
   }
diff --git a/src/main/resources/Documentation/config.md b/src/main/resources/Documentation/config.md
index 88acfd4..ac8b4a9 100644
--- a/src/main/resources/Documentation/config.md
+++ b/src/main/resources/Documentation/config.md
@@ -185,6 +185,7 @@
     ***
 
     Issue tracker integration for all projects? [DISABLED/?]: enabled
+    Branches for which the issue tracker integration should be enabled (ref, ref pattern or regular expression) [refs/heads/*]:
 
     *** IBM Rational Team Concert connectivity
 	***