|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ActiveRule
Configuration of a rule activated on a Quality profile
Method Summary | |
---|---|
String |
internalKey()
Optional key declared and used by the underlying rule engine. |
String |
language()
Language of rule, for example java |
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. |
Method Detail |
---|
RuleKey ruleKey()
String severity()
Severity
String language()
java
@CheckForNull String param(String key)
null
if the parameter key does not
exist on the rule or if the parameter has no value nor default value.
Map<String,String> params()
@CheckForNull String internalKey()
com.puppycrawl.tools.checkstyle.checks.FooCheck
whereas its internal key can be Checker/TreeWalker/Foo
.
@CheckForNull String templateRuleKey()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |