Package | Description |
---|---|
org.sonar.api.measures | |
org.sonar.api.profiles | |
org.sonar.api.rules |
Modifier and Type | Method and Description |
---|---|
RulePriority |
RuleMeasure.getRulePriority()
Deprecated.
since 2.14 use
RuleMeasure.getSeverity() instead. See SONAR-1829. |
RulePriority |
RuleMeasure.getSeverity()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static RuleMeasure |
RuleMeasure.createForPriority(Metric metric,
RulePriority priority,
Double value)
Deprecated.
|
RuleMeasure |
RuleMeasure.setRulePriority(RulePriority rulePriority)
Deprecated.
since 2.14 use
RuleMeasure.setSeverity(org.sonar.api.rules.RulePriority) instead. See SONAR-1829. |
RuleMeasure |
RuleMeasure.setSeverity(RulePriority severity)
Deprecated.
|
Constructor and Description |
---|
RuleMeasure(Metric metric,
RuleKey ruleKey,
RulePriority rulePriority,
Integer ruleCategory)
Deprecated.
This constructor is for internal use only.
|
RuleMeasure(Metric metric,
Rule rule,
RulePriority rulePriority,
Integer ruleCategory)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
ActiveRule |
RulesProfile.activateRule(Rule rule,
RulePriority optionalSeverity) |
List<ActiveRule> |
RulesProfile.getActiveRules(RulePriority severity)
Note: disabled rules are excluded.
|
Modifier and Type | Field and Description |
---|---|
static RulePriority |
Rule.DEFAULT_PRIORITY
The default priority given to a rule if not explicitly set
|
Modifier and Type | Method and Description |
---|---|
static RulePriority |
RulePriority.fromCheckPriority(Priority checkPriority)
Deprecated.
|
RulePriority |
ActiveRule.getOverriddenSeverity()
Deprecated.
|
RulePriority |
ActiveRule.getPriority()
Deprecated.
since 2.5 use
ActiveRule.getSeverity() instead. See http://jira.sonarsource.com/browse/SONAR-1829 |
RulePriority |
Rule.getSeverity() |
RulePriority |
ActiveRule.getSeverity() |
static RulePriority |
RulePriority.valueOf(String name)
Deprecated.
Returns the enum constant of this type with the specified name.
|
static RulePriority |
RulePriority.valueOfInt(int ordinal)
Deprecated.
|
static RulePriority |
RulePriority.valueOfString(String level)
Deprecated.
in 3.6
|
static RulePriority[] |
RulePriority.values()
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
ActiveRule.setPriority(RulePriority priority)
Deprecated.
since 2.5 use
ActiveRule.setSeverity(RulePriority) instead. See http://jira.sonarsource.com/browse/SONAR-1829 |
Rule |
Rule.setSeverity(RulePriority severity) |
void |
ActiveRule.setSeverity(RulePriority severity) |
Constructor and Description |
---|
ActiveRule(RulesProfile profile,
Rule rule,
RulePriority severity)
Deprecated.
visibility should be reduced to protected or package
|
Copyright © 2009–2018 SonarSource. All rights reserved.