aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@sonarsource.com>2017-05-16 13:35:36 +0200
committerJulien Lancelot <julien.lancelot@sonarsource.com>2017-06-09 10:09:25 +0200
commit913c74211cbc0088068cd679026befcaf16f0f8a (patch)
treea6f328f888789369964d4689b5ca561425bb63a5 /sonar-plugin-api
parentb1635cd5508d3658bc820d7b53cbeb9190fa82e0 (diff)
downloadsonarqube-913c74211cbc0088068cd679026befcaf16f0f8a.tar.gz
sonarqube-913c74211cbc0088068cd679026befcaf16f0f8a.zip
SONAR-8800 Deprecate org.sonar.api.platform.Server#getUrl
Diffstat (limited to 'sonar-plugin-api')
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/platform/Server.java2
1 files changed, 2 insertions, 0 deletions
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 c9b15143d66..0a68992a6b2 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
@@ -117,6 +117,8 @@ public abstract class Server {
/**
* @return the server URL
* @since since 2.4 on batch side only, since 5.6 on both batch side and server side (WebServer and Compute Engine)
+ * @deprecated since 6.5, please use {@link #getPublicRootUrl()} instead
*/
+ @Deprecated
public abstract String getURL();
}