Package | Description |
---|---|
org.sonar.api.profiles | |
org.sonar.api.rules |
Modifier and Type | Method and Description |
---|---|
ActiveRule |
RulesProfile.activateRule(Rule rule,
RulePriority optionalSeverity) |
ActiveRule |
RulesProfile.getActiveRule(Rule rule)
Note: disabled rules are excluded.
|
ActiveRule |
RulesProfile.getActiveRule(String repositoryKey,
String ruleKey)
Note: disabled rules are excluded.
|
ActiveRule |
RulesProfile.getActiveRuleByConfigKey(String repositoryKey,
String configKey)
Note: disabled rules are excluded.
|
Modifier and Type | Method and Description |
---|---|
List<ActiveRule> |
RulesProfile.getActiveRules() |
List<ActiveRule> |
RulesProfile.getActiveRules(boolean acceptDisabledRules) |
List<ActiveRule> |
RulesProfile.getActiveRules(RulePriority severity)
Note: disabled rules are excluded.
|
List<ActiveRule> |
RulesProfile.getActiveRulesByRepository(String repositoryKey)
Get the active rules of a specific repository.
|
Modifier and Type | Method and Description |
---|---|
RulesProfile |
RulesProfile.addActiveRule(ActiveRule activeRule) |
RulesProfile |
RulesProfile.removeActiveRule(ActiveRule activeRule) |
Modifier and Type | Method and Description |
---|---|
void |
RulesProfile.setActiveRules(List<ActiveRule> activeRules)
Set the list of active rules
|
Modifier and Type | Method and Description |
---|---|
ActiveRule |
ActiveRuleParam.getActiveRule() |
ActiveRule |
ActiveRule.setParameter(String key,
String value) |
Modifier and Type | Method and Description |
---|---|
void |
ActiveRuleParam.setActiveRule(ActiveRule activeRule)
Deprecated.
visibility should be decreased to protected or package
|
Constructor and Description |
---|
ActiveRuleParam(ActiveRule activeRule,
RuleParam ruleParam,
String value)
Deprecated.
visibility should be decreased to protected or package
|
Copyright © 2009–2018 SonarSource. All rights reserved.