| Package | Description |
|---|---|
| org.sonar.api.batch.rule | |
| org.sonar.api.batch.rule.internal | |
| org.sonar.api.issue | |
| org.sonar.api.issue.internal |
This package contains classes that MUST NOT be used by plugins,
except for unit testing.
|
| org.sonar.api.rule | |
| org.sonar.api.rules | |
| org.sonar.api.technicaldebt.batch | |
| org.sonar.api.technicaldebt.batch.internal | |
| org.sonar.api.technicaldebt.server | |
| org.sonar.api.technicaldebt.server.internal |
| Modifier and Type | Method and Description |
|---|---|
RuleKey |
Rule.key() |
RuleKey |
ActiveRule.ruleKey() |
RuleKey |
Checks.ruleKey(C check) |
| Modifier and Type | Method and Description |
|---|---|
Rule |
Rules.find(RuleKey key) |
ActiveRule |
ActiveRules.find(RuleKey ruleKey)
Find a
ActiveRule by the associated rule key. |
C |
Checks.of(RuleKey ruleKey) |
| Modifier and Type | Method and Description |
|---|---|
RuleKey |
DefaultRule.key() |
| Modifier and Type | Method and Description |
|---|---|
NewActiveRule |
ActiveRulesBuilder.activate(RuleKey ruleKey) |
NewRule |
RulesBuilder.add(RuleKey key) |
| Modifier and Type | Method and Description |
|---|---|
RuleKey |
Issue.ruleKey() |
| Modifier and Type | Method and Description |
|---|---|
Collection<RuleKey> |
IssueQuery.rules() |
| Modifier and Type | Method and Description |
|---|---|
Issuable.IssueBuilder |
Issuable.IssueBuilder.ruleKey(RuleKey ruleKey)
The rule key is mandatory.
|
| Modifier and Type | Method and Description |
|---|---|
IssueQuery.Builder |
IssueQuery.Builder.rules(Collection<RuleKey> rules) |
| Modifier and Type | Method and Description |
|---|---|
RuleKey |
DefaultIssue.ruleKey() |
| Modifier and Type | Method and Description |
|---|---|
DefaultIssue |
DefaultIssue.setRuleKey(RuleKey k) |
| Modifier and Type | Method and Description |
|---|---|
static RuleKey |
RuleKey.of(String repository,
String rule)
Create a key.
|
static RuleKey |
RuleKey.parse(String s)
Create a key from a string representation (see
toString(). |
| Modifier and Type | Method and Description |
|---|---|
RuleKey |
Rule.ruleKey() |
| Modifier and Type | Method and Description |
|---|---|
Rule |
RuleFinder.findByKey(RuleKey key) |
| Modifier and Type | Method and Description |
|---|---|
RuleKey |
Requirement.ruleKey() |
| Modifier and Type | Method and Description |
|---|---|
Requirement |
TechnicalDebtModel.requirementsByRule(RuleKey ruleKey) |
| Modifier and Type | Method and Description |
|---|---|
RuleKey |
DefaultRequirement.ruleKey() |
| Modifier and Type | Method and Description |
|---|---|
DefaultRequirement |
DefaultRequirement.setRuleKey(RuleKey ruleKey) |
| Modifier and Type | Method and Description |
|---|---|
RuleKey |
Characteristic.ruleKey() |
| Modifier and Type | Method and Description |
|---|---|
RuleKey |
DefaultCharacteristic.ruleKey() |
| Modifier and Type | Method and Description |
|---|---|
DefaultCharacteristic |
DefaultCharacteristic.setRuleKey(RuleKey ruleKey) |
Copyright © 2009-2014 SonarSource. All Rights Reserved.