org.thewonderlemming.c4plantuml.mojo.linting

## Class LintingRulesFinder

- java.lang.Object
- - org.thewonderlemming.c4plantuml.mojo.linting.LintingRulesFinder

-     public class LintingRulesFinder
      extends Object

  An utility class to detect and return `AbstractLintingRule` and `AbstractCustomLintingRule` within the classpath, including the shipped dependencies.
  Author:
    thewonderlemming

- - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static Set<Class<? extends AbstractLintingRule>>` | `findBuiltInLintingRules()` Finds and returns every non-abstract child class of `AbstractLintingRule` in the classpath, including within the dependencies.
    `static Set<Class<? extends AbstractCustomLintingRuleFactory<?>>>` | `findCustomLintingRuleFactories()` Finds and returns every non-abstract child class of `AbstractCustomLintingRule` in the classpath, including within the dependencies.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### findBuiltInLintingRules

          public static Set<Class<? extends AbstractLintingRule>> findBuiltInLintingRules()

      Finds and returns every non-abstract child class of `AbstractLintingRule` in the classpath, including within the dependencies.
      Returns:
        a set of the found `AbstractLintingRule` classes.

    - #### findCustomLintingRuleFactories

          public static Set<Class<? extends AbstractCustomLintingRuleFactory<?>>> findCustomLintingRuleFactories()

      Finds and returns every non-abstract child class of `AbstractCustomLintingRule` in the classpath, including within the dependencies.
      Returns:
        a set of the found `AbstractCustomLintingRule` classes.

Copyright © 2020. All rights reserved.