public interface AddLintingRule
| Modifier and Type | Method and Description |
|---|---|
AddLintingRule |
addLintingRule(AbstractLintingRule lintingRule)
Adds a
AbstractLintingRule to the set of active rules. |
default AddLintingRule |
addLintingRules(Set<AbstractLintingRule> lintingRules)
Adds a set of
AbstractLintingRule to the set of active rules. |
Linter |
build()
Builds and returns the expected
Linter instance. |
AddLintingRule addLintingRule(AbstractLintingRule lintingRule)
AbstractLintingRule to the set of active rules.
Adding the same rule multiple times is not forbidden but in the end it will be part of a Set.
lintingRule - the AbstractLintingRule to add to the instance.AddLintingRule builder instance.default AddLintingRule addLintingRules(Set<AbstractLintingRule> lintingRules)
AbstractLintingRule to the set of active rules.lintingRules - the Set of rules to add to the instance.AddLintingRule builder instance.Copyright © 2020. All rights reserved.