@Immutable public class DefaultActiveRule extends Object implements ActiveRule
| Modifier and Type | Method and Description |
|---|---|
long |
createdAt() |
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.
|
public RuleKey ruleKey()
ruleKey in interface ActiveRulepublic String severity()
ActiveRuleseverity in interface ActiveRuleSeveritypublic String language()
ActiveRulejavalanguage 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()
ActiveRuleparams 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()
ActiveRuletemplateRuleKey in interface ActiveRulepublic long createdAt()
Copyright © 2009–2017 SonarSource. All rights reserved.