diff options
author | Duarte Meneses <duarte.meneses@sonarsource.com> | 2015-07-28 16:27:33 +0200 |
---|---|---|
committer | Duarte Meneses <duarte.meneses@sonarsource.com> | 2015-07-29 11:22:22 +0200 |
commit | 33851f1a19fcb539db658f22bd4015a01e6a9c9c (patch) | |
tree | 9b6f9b54b29632fcbba46da02717d92b79e8787f /sonar-plugin-api | |
parent | fafe1f53f4367a20278a995b9e02f064fd4c8c8b (diff) | |
download | sonarqube-33851f1a19fcb539db658f22bd4015a01e6a9c9c.tar.gz sonarqube-33851f1a19fcb539db658f22bd4015a01e6a9c9c.zip |
deprecate RulesProfile
Diffstat (limited to 'sonar-plugin-api')
-rw-r--r-- | sonar-plugin-api/src/main/java/org/sonar/api/profiles/RulesProfile.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/profiles/RulesProfile.java b/sonar-plugin-api/src/main/java/org/sonar/api/profiles/RulesProfile.java index fa19f5ca26d..d6d26a76e69 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/profiles/RulesProfile.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/profiles/RulesProfile.java @@ -19,12 +19,18 @@ */ package org.sonar.api.profiles; +import org.sonar.api.batch.rule.Rules; + +import org.sonar.api.batch.rule.ActiveRules; import com.google.common.base.Predicate; import com.google.common.collect.Iterables; + import java.util.ArrayList; import java.util.List; + import javax.annotation.CheckForNull; import javax.annotation.Nullable; + import org.apache.commons.collections.CollectionUtils; import org.apache.commons.collections.Transformer; import org.apache.commons.lang.StringUtils; @@ -37,7 +43,9 @@ import org.sonar.api.utils.MessageException; /** * This class is badly named. It should be "QualityProfile". Indeed it does not relate only to rules but to metric thresholds too. + * @deprecated since 5.2. Use {@link ActiveRules} and {@link Rules} to access rules. */ +@Deprecated public class RulesProfile implements Cloneable { /** |