aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-core
diff options
context:
space:
mode:
authoralain <108417558+alain-kermis-sonarsource@users.noreply.github.com>2022-12-19 16:48:47 +0100
committersonartech <sonartech@sonarsource.com>2022-12-19 20:02:46 +0000
commit4bdd63589597f5b32f04f02a3a32fe3e6e2927d4 (patch)
tree2baaee45d0096fa5eeda7ccc3bf29a5ab0ee99d0 /sonar-core
parent590d662a839a255957e72624001e18ba3338a6b5 (diff)
downloadsonarqube-4bdd63589597f5b32f04f02a3a32fe3e6e2927d4.tar.gz
sonarqube-4bdd63589597f5b32f04f02a3a32fe3e6e2927d4.zip
SONAR-17735 Telemetry improvements
Diffstat (limited to 'sonar-core')
-rw-r--r--sonar-core/src/main/java/org/sonar/core/telemetry/TelemetryExtension.java26
1 files changed, 26 insertions, 0 deletions
diff --git a/sonar-core/src/main/java/org/sonar/core/telemetry/TelemetryExtension.java b/sonar-core/src/main/java/org/sonar/core/telemetry/TelemetryExtension.java
new file mode 100644
index 00000000000..542fb53db7e
--- /dev/null
+++ b/sonar-core/src/main/java/org/sonar/core/telemetry/TelemetryExtension.java
@@ -0,0 +1,26 @@
+/*
+ * SonarQube
+ * Copyright (C) 2009-2022 SonarSource SA
+ * mailto:info AT sonarsource DOT com
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this program; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ */
+package org.sonar.core.telemetry;
+
+import org.sonar.api.utils.text.JsonWriter;
+
+public interface TelemetryExtension {
+ void write(JsonWriter json);
+}