public interface ActiveRule
Modifier and Type | Method and Description |
---|---|
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.
|
@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()
Copyright © 2009–2017 SonarSource. All rights reserved.