|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sonar.api.batch.rule.internal.DefaultActiveRule
@Immutable public class DefaultActiveRule
| Method Summary | |
|---|---|
String |
internalKey()
Optional key declared and used by the underlying rule engine. |
String |
language()
Language of rule, for example java |
String |
name()
|
String |
param(String key)
Value of given parameter. |
Map<String,String> |
params()
Immutable parameter values. |
RuleKey |
ruleKey()
|
String |
severity()
Non-null severity. |
String |
templateRuleKey()
Optional rule key of the template rule. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public RuleKey ruleKey()
ruleKey in interface ActiveRulepublic String name()
public String severity()
ActiveRule
severity in interface ActiveRuleSeveritypublic String language()
ActiveRulejava
language in interface ActiveRulepublic String param(String key)
ActiveRulenull if the parameter key does not
exist on the rule or if the parameter has no value nor default value.
param in interface ActiveRulepublic Map<String,String> params()
ActiveRule
params in interface ActiveRulepublic String internalKey()
ActiveRulecom.puppycrawl.tools.checkstyle.checks.FooCheck
whereas its internal key can be Checker/TreeWalker/Foo.
internalKey in interface ActiveRulepublic String templateRuleKey()
ActiveRule
templateRuleKey in interface ActiveRule
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||