org.sonar.api.rules
Interface RuleFinder
- All Superinterfaces:
- ServerComponent, TaskComponent
public interface RuleFinder
- extends TaskComponent, ServerComponent
- Since:
- 2.3
findById
@CheckForNull
@Deprecated
Rule findById(int ruleId)
- Deprecated. since 4.4, Please use
findByKey(org.sonar.api.rule.RuleKey)
}
- Since:
- 2.5
findByKey
@CheckForNull
Rule findByKey(String repositoryKey,
String key)
findByKey
@CheckForNull
Rule findByKey(RuleKey key)
find
@CheckForNull
Rule find(RuleQuery query)
findAll
Collection<Rule> findAll(RuleQuery query)
Copyright © 2009–2015 SonarSource. All rights reserved.