aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2017-08-30 09:37:39 +0200
committerTeryk Bellahsene <teryk@users.noreply.github.com>2017-08-30 16:24:53 +0200
commit6f13f93ffca506f08f5c55421a069590f170f97f (patch)
treea4ee18a29afcf86ef321b6b0a2d4c1b54ac78a7d /sonar-plugin-api
parentff5e58a204e214d5639525be8f94ab26f83b50e0 (diff)
downloadsonarqube-6f13f93ffca506f08f5c55421a069590f170f97f.tar.gz
sonarqube-6f13f93ffca506f08f5c55421a069590f170f97f.zip
SONAR-9721 fix javadoc of Server#getId()
Diffstat (limited to 'sonar-plugin-api')
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/platform/Server.java6
1 files changed, 4 insertions, 2 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 0a68992a6b2..5a6964dda44 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
@@ -37,10 +37,12 @@ import org.sonar.api.server.ServerSide;
public abstract class Server {
/**
- * Name is misleading, this is an UUID generated
- * at each startup, so it changes if server is restarted.
+ * UUID identifying the installation. It is persisted
+ * so that it does not change over time, even after
+ * a restart.
* In the context of cluster, the value is shared
* by all the nodes.
+ *
* @return a non-null UUID. Format can change over versions.
*/
public abstract String getId();