Package | Description |
---|---|
org.sonar.api.batch.rule | |
org.sonar.api.batch.rule.internal |
Modifier and Type | Method and Description |
---|---|
ActiveRule |
ActiveRules.find(RuleKey ruleKey)
Find a
ActiveRule by the associated rule key. |
ActiveRule |
ActiveRules.findByInternalKey(String repository,
String internalKey)
Find a
ActiveRule by the associated internal key. |
Modifier and Type | Method and Description |
---|---|
Collection<ActiveRule> |
ActiveRules.findAll()
All the active rules, whatever their repository and related language.
|
Collection<ActiveRule> |
ActiveRules.findByLanguage(String language)
The active rules for a given language, like
java |
Collection<ActiveRule> |
ActiveRules.findByRepository(String repository)
The active rules for a given repository, like
findbugs |
Modifier and Type | Class and Description |
---|---|
class |
DefaultActiveRule |
Modifier and Type | Method and Description |
---|---|
ActiveRule |
DefaultActiveRules.find(RuleKey ruleKey) |
ActiveRule |
DefaultActiveRules.findByInternalKey(String repository,
String internalKey) |
Modifier and Type | Method and Description |
---|---|
Collection<ActiveRule> |
DefaultActiveRules.findAll() |
Collection<ActiveRule> |
DefaultActiveRules.findByLanguage(String language) |
Collection<ActiveRule> |
DefaultActiveRules.findByRepository(String repository) |
Copyright © 2009–2018 SonarSource. All rights reserved.