public interface IRulesetRule
Modifier and Type | Method and Description |
---|---|
void |
contributeRules(java.util.function.BiConsumer<java.lang.String,java.lang.String> contributor)
Allows to contribute rule mappings that are not custom checks.
|
java.lang.String |
getRuleId()
Returns a human readable rule id (e.g.
|
java.lang.String |
getRuleText()
Returns a readable name of description of the rule.
|
java.lang.String getRuleId()
java.lang.String getRuleText()
void contributeRules(java.util.function.BiConsumer<java.lang.String,java.lang.String> contributor)
contributor
- accepts the rule id and the name of the general check.