From 89703b1b6d1e110b66848ae553c62e2a3a7f66a5 Mon Sep 17 00:00:00 2001 From: Julien HENRY Date: Thu, 5 Jun 2014 16:03:08 +0200 Subject: [PATCH] Deprecate AnalysisType. --- .../src/main/java/org/sonar/api/resources/Project.java | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/resources/Project.java b/sonar-plugin-api/src/main/java/org/sonar/api/resources/Project.java index 7eafff80610..4355838c9e8 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/resources/Project.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/resources/Project.java @@ -62,7 +62,9 @@ public class Project extends Resource implements Component { /** * Enumerates the type of possible analysis + * @deprecated since 4.4 Since 4.3 SQ will no more run tests. So basically it's always reuse report. */ + @Deprecated public enum AnalysisType { STATIC, DYNAMIC, REUSE_REPORTS; @@ -201,12 +203,17 @@ public class Project extends Resource implements Component { } /** - * @return the type of analysis of the project + * @deprecated since 4.4 Since 4.3 SQ will no more run tests. So basically it's always reuse report. */ + @Deprecated public AnalysisType getAnalysisType() { return analysisType; } + /** + * @deprecated since 4.4 Since 4.3 SQ will no more run tests. So basically it's always reuse report. + */ + @Deprecated public Project setAnalysisType(AnalysisType at) { this.analysisType = at; return this; -- 2.39.5