@ScannerSide public interface ActiveRules
ActiveRulesBuilder to instantiate
 this component in unit tests.| Modifier and Type | Method and Description | 
|---|---|
| ActiveRule | find(RuleKey ruleKey)Find a  ActiveRuleby the associated rule key. | 
| Collection<ActiveRule> | findAll()All the active rules, whatever their repository and related language. | 
| ActiveRule | findByInternalKey(String repository,
                 String internalKey)Find a  ActiveRuleby the associated internal key. | 
| Collection<ActiveRule> | findByLanguage(String language)The active rules for a given language, like  java | 
| Collection<ActiveRule> | findByRepository(String repository)The active rules for a given repository, like  findbugs | 
@CheckForNull ActiveRule find(RuleKey ruleKey)
ActiveRule by the associated rule key. null
 is returned if the rule does not exist or if the rule is not activated
 on any Quality profile associated with the module.Collection<ActiveRule> findAll()
Collection<ActiveRule> findByRepository(String repository)
findbugsCollection<ActiveRule> findByLanguage(String language)
java@CheckForNull ActiveRule findByInternalKey(String repository, String internalKey)
ActiveRule by the associated internal key. null
 is returned if the rule does not exist or if the rule is not activated
 on any Quality profile associated with the module.Copyright © 2009–2016 SonarSource. All rights reserved.