|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Rule | |
---|---|
org.sonar.api.checks.templates | |
org.sonar.api.database.daos | |
org.sonar.api.database.model | |
org.sonar.api.measures | |
org.sonar.api.profiles | |
org.sonar.api.rules |
Uses of Rule in org.sonar.api.checks.templates |
---|
Methods in org.sonar.api.checks.templates that return types with arguments of type Rule | |
---|---|
java.util.List<Rule> |
CheckTemplateRepository.getInitialReferential()
|
java.util.List<Rule> |
CheckTemplateRepository.parseReferential(java.lang.String fileContent)
|
Uses of Rule in org.sonar.api.database.daos |
---|
Methods in org.sonar.api.database.daos that return Rule | |
---|---|
Rule |
RulesDao.getRuleByKey(java.lang.String pluginKey,
java.lang.String ruleKey)
|
Methods in org.sonar.api.database.daos that return types with arguments of type Rule | |
---|---|
java.util.List<Rule> |
RulesDao.getRules()
|
java.util.List<Rule> |
RulesDao.getRulesByCategory(RulesCategory categ)
|
java.util.List<Rule> |
RulesDao.getRulesByPlugin(java.lang.String pluginKey)
|
Methods in org.sonar.api.database.daos with parameters of type Rule | |
---|---|
RuleParam |
RulesDao.getRuleParam(Rule rule,
java.lang.String paramKey)
|
Uses of Rule in org.sonar.api.database.model |
---|
Methods in org.sonar.api.database.model that return Rule | |
---|---|
Rule |
RuleFailureModel.getRule()
|
Rule |
MeasureModel.getRule()
|
Methods in org.sonar.api.database.model with parameters of type Rule | |
---|---|
void |
RuleFailureModel.setRule(Rule rule)
|
MeasureModel |
MeasureModel.setRule(Rule rule)
Sets the rule for the measure |
Constructors in org.sonar.api.database.model with parameters of type Rule | |
---|---|
RuleFailureModel(Rule rule,
RulePriority priority)
|
Uses of Rule in org.sonar.api.measures |
---|
Methods in org.sonar.api.measures that return Rule | |
---|---|
Rule |
RuleMeasure.getRule()
|
Methods in org.sonar.api.measures with parameters of type Rule | |
---|---|
static RuleMeasure |
RuleMeasure.createForRule(Metric metric,
Rule rule,
java.lang.Double value)
|
static MeasuresFilter<RuleMeasure> |
MeasuresFilters.rule(Metric metric,
Rule rule)
|
void |
RuleMeasure.setRule(Rule rule)
|
Constructors in org.sonar.api.measures with parameters of type Rule | |
---|---|
RuleMeasure(Metric metric,
Rule rule,
RulePriority rulePriority,
java.lang.Integer ruleCategory)
This constructor is for internal use only. |
Uses of Rule in org.sonar.api.profiles |
---|
Methods in org.sonar.api.profiles with parameters of type Rule | |
---|---|
ActiveRule |
RulesProfile.getActiveRule(Rule rule)
THIS METHOD SHOULD NOT BE USED AS CURRENTLY THE PLUGIN KEY CAN NOT BE DETERMINED |
Uses of Rule in org.sonar.api.rules |
---|
Methods in org.sonar.api.rules that return Rule | |
---|---|
Rule |
RulesManager.getPluginRule(java.lang.String pluginKey,
java.lang.String ruleKey)
Gets a rule belonging to a defined plugin based on its key |
Rule |
Violation.getRule()
|
Rule |
RuleParam.getRule()
|
Rule |
ActiveRule.getRule()
|
Rule |
Rule.setConfigKey(java.lang.String configKey)
Sets the configuration key |
Rule |
Rule.setDescription(java.lang.String description)
Sets the rule description |
Rule |
Rule.setKey(java.lang.String key)
Sets the rule key |
Rule |
Rule.setName(java.lang.String name)
Sets the rule name |
Rule |
Rule.setParams(java.util.List<RuleParam> params)
Sets the rule parameters |
Rule |
Rule.setPluginName(java.lang.String pluginName)
Sets the plugin name the rule belongs to |
Rule |
Rule.setPriority(RulePriority priority)
Sets the rule priority. |
Rule |
Rule.setRulesCategory(RulesCategory rulesCategory)
Sets the rule category |
Methods in org.sonar.api.rules that return types with arguments of type Rule | |
---|---|
java.util.List<Rule> |
RulesRepository.getInitialReferential()
|
java.util.List<Rule> |
AbstractRulesRepository.getInitialReferential()
|
java.util.Collection<Rule> |
RulesManager.getPluginRules(java.lang.String pluginKey)
Gets a collection of rules belonging to a plugin |
java.util.Map<java.lang.String,Rule> |
RulesManager.getPluginRulesIndexedByKey(java.lang.String pluginKey)
Gets a list of rules indexed by their key for a given plugin |
java.util.List<Rule> |
StandardRulesXmlParser.parse(java.io.InputStream input)
|
java.util.List<Rule> |
StandardRulesXmlParser.parse(java.io.Reader reader)
|
java.util.List<Rule> |
StandardRulesXmlParser.parse(java.lang.String xml)
see the XML format into the unit test src/test/java/.../StandardRulesXmlParserTest |
java.util.List<Rule> |
RulesRepository.parseReferential(java.lang.String fileContent)
The method to parse the base referential of rules and return a list of rules |
java.util.List<Rule> |
AbstractRulesRepository.parseReferential(java.lang.String fileContent)
|
Methods in org.sonar.api.rules with parameters of type Rule | |
---|---|
Violation |
Violation.setRule(Rule rule)
Sets the rule violated |
void |
RuleParam.setRule(Rule rule)
|
void |
ActiveRule.setRule(Rule rule)
|
Method parameters in org.sonar.api.rules with type arguments of type Rule | |
---|---|
java.util.List<ActiveRule> |
ConfigurationImportable.importConfiguration(java.lang.String configuration,
java.util.List<Rule> rules)
|
java.lang.String |
StandardRulesXmlParser.toXml(java.util.List<Rule> rules)
|
Constructors in org.sonar.api.rules with parameters of type Rule | |
---|---|
ActiveRule(RulesProfile profile,
Rule rule,
RulePriority priority)
Creates an ActiveRule |
|
RuleParam(Rule rule,
java.lang.String key,
java.lang.String description,
java.lang.String type)
|
|
Violation(Rule rule)
Creates of a violation from a rule. |
|
Violation(Rule rule,
Resource resource)
Creates a fully qualified violation |
Constructor parameters in org.sonar.api.rules with type arguments of type Rule | |
---|---|
StandardProfileXmlParser(java.util.List<Rule> rules)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |