aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api
diff options
context:
space:
mode:
Diffstat (limited to 'sonar-plugin-api')
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/CoreProperties.java10
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/platform/Server.java5
2 files changed, 15 insertions, 0 deletions
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/CoreProperties.java b/sonar-plugin-api/src/main/java/org/sonar/api/CoreProperties.java
index 8760081c433..0fc4a6c2d75 100644
--- a/sonar-plugin-api/src/main/java/org/sonar/api/CoreProperties.java
+++ b/sonar-plugin-api/src/main/java/org/sonar/api/CoreProperties.java
@@ -180,4 +180,14 @@ public interface CoreProperties {
String TIMEMACHINE_DEFAULT_PERIOD_3 = "30";
String TIMEMACHINE_DEFAULT_PERIOD_4 = "";
String TIMEMACHINE_DEFAULT_PERIOD_5 = "";
+
+ /**
+ * @since 2.11
+ */
+ String ORGANIZATION = "sonar.organization";
+
+ /**
+ * @since 2.11
+ */
+ String SERVER_KEY = "sonar.serverKey.secured";
}
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/platform/Server.java b/sonar-plugin-api/src/main/java/org/sonar/api/platform/Server.java
index 37d06ad35d6..f5043073dbb 100644
--- a/sonar-plugin-api/src/main/java/org/sonar/api/platform/Server.java
+++ b/sonar-plugin-api/src/main/java/org/sonar/api/platform/Server.java
@@ -40,4 +40,9 @@ public abstract class Server implements BatchComponent, ServerComponent {
* @since 2.4
*/
public abstract String getURL();
+
+ /**
+ * @since 2.10
+ */
+ public abstract String getKey();
}