org.thewonderlemming.c4plantuml.linter.builder

## Interface AddLintingRule

-     public interface AddLintingRule

  A part of the `LinterBuilder` to add `AbstractLintingRule` and build a new `Linter` instance.
  Author:
    thewonderlemming

- - ### Method Summary

    All Methods Instance Methods Abstract Methods Default Methods
    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.

- - ### Method Detail

    - #### addLintingRule

          AddLintingRule addLintingRule(AbstractLintingRule lintingRule)

      Adds a `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`.

      Parameters:
        `lintingRule` - the `AbstractLintingRule` to add to the instance.
      Returns:
        the current `AddLintingRule` builder instance.

    - #### addLintingRules

          default AddLintingRule addLintingRules(Set<AbstractLintingRule> lintingRules)

      Adds a set of `AbstractLintingRule` to the set of active rules.
      Parameters:
        `lintingRules` - the `Set` of rules to add to the instance.
      Returns:
        the current `AddLintingRule` builder instance.

    - #### build

          Linter build()

      Builds and returns the expected `Linter` instance.
      Returns:
        the new `Linter` instance.

Copyright © 2020. All rights reserved.