From: Julien HENRY Date: Mon, 8 Dec 2014 10:12:15 +0000 (+0100) Subject: Update documentation of PostJob extension X-Git-Tag: 5.0-RC1~19^2~4 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=d60853341b9ad657fb1541e2625dd42400d38c18;p=sonarqube.git Update documentation of PostJob extension --- diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/batch/PostJob.java b/sonar-plugin-api/src/main/java/org/sonar/api/batch/PostJob.java index 52eff7acc68..a01a83178e0 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/batch/PostJob.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/batch/PostJob.java @@ -23,11 +23,10 @@ import org.sonar.api.BatchExtension; import org.sonar.api.resources.Project; /** - * PostJobs are executed when project is analysed. - *

- *

- * Note : executed only on root project, not on modules. - *

+ * PostJobs are executed at the very end of batch analysis. A PostJob can't do any modification + * since everything is already computed (issues, measures,...).
+ * WANRING: Do not rely on the fact that analysis results are available on server side. Even if it is true + * for now (synchronous storage) it will become an asynchronous processing on server side in 5.x series. * * @since 1.10 */