R - the type of AbstractCustomLintingRule to build.public abstract class AbstractCustomLintingRuleFactory<R extends AbstractCustomLintingRule> extends Object
AbstractCustomLintingRule.
Extend the following class if you intend to create your own rules but don't want to integrate them to the current plugin.
Please note that you'll also have to to implement a AbstractCustomLintingRule.
| Constructor and Description |
|---|
AbstractCustomLintingRuleFactory() |
| Modifier and Type | Method and Description |
|---|---|
abstract Optional<R> |
createCustomRule(Properties parameters)
Creates an instance of
AbstractCustomLintingRule given a set of Properties gathered from the
pom.xml file.. |
public abstract Optional<R> createCustomRule(Properties parameters)
AbstractCustomLintingRule given a set of Properties gathered from the
pom.xml file..parameters - the pom.xml configuration.Optional of the newly created instance, or empty on failure.Copyright © 2020. All rights reserved.