Package | Description |
---|---|
org.sonar.api.checks | |
org.sonar.api.profiles | |
org.sonar.api.rules |
Modifier and Type | Method and Description |
---|---|
ActiveRule |
CheckFactory.getActiveRule(C check) |
Modifier and Type | Method and Description |
---|---|
protected Object |
AnnotationCheckFactory.createCheck(ActiveRule activeRule) |
C |
CheckFactory.getCheck(ActiveRule activeRule) |
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.getActiveRulesByPlugin(String repositoryKey)
Deprecated.
since 2.3 use
RulesProfile.getActiveRulesByRepository(String) instead. |
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 |
---|---|
static Violation |
Violation.create(ActiveRule activeRule,
Resource resource)
Deprecated.
|
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-2014 SonarSource. All Rights Reserved.