]> source.dussan.org Git - sonarqube.git/commitdiff
Deprecate AnalysisType.
authorJulien HENRY <julien.henry@sonarsource.com>
Thu, 5 Jun 2014 14:03:08 +0000 (16:03 +0200)
committerJulien HENRY <julien.henry@sonarsource.com>
Thu, 5 Jun 2014 14:03:44 +0000 (16:03 +0200)
sonar-plugin-api/src/main/java/org/sonar/api/resources/Project.java

index 7eafff80610701cdaa2d4f378266fc8e2d6e22ca..4355838c9e856ec761b89b1ad0c9248ddcf91a30 100644 (file)
@@ -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;