ActiveRules on batch side.@Deprecated @ScannerSide @ServerSide @ComputeEngineSide public interface RuleFinder
| Modifier and Type | Method and Description | 
|---|---|
| Rule | find(RuleQuery query)Deprecated.  | 
| Collection<Rule> | findAll(RuleQuery query)Deprecated.  | 
| Rule | findById(int ruleId)Deprecated. 
 since 4.4, Please use  findByKey(org.sonar.api.rule.RuleKey)} | 
| Rule | findByKey(RuleKey key)Deprecated.  | 
| Rule | findByKey(String repositoryKey,
         String key)Deprecated.  | 
@CheckForNull @Deprecated Rule findById(int ruleId)
findByKey(org.sonar.api.rule.RuleKey)}@CheckForNull Rule findByKey(String repositoryKey, String key)
@CheckForNull Rule findByKey(RuleKey key)
@CheckForNull Rule find(RuleQuery query)
IllegalArgumentException - if more than one resultCollection<Rule> findAll(RuleQuery query)
Copyright © 2009–2016 SonarSource. All rights reserved.