| Package | Description |
|---|---|
| org.thewonderlemming.c4plantuml.linter |
Contains the linting engine and its main dependencies.
|
| org.thewonderlemming.c4plantuml.linter.builder |
Contains the
LinterBuilder dependencies. |
| org.thewonderlemming.c4plantuml.linter.rules.builtin |
Contains built-in
AbstractLintingRule implementations. |
| Modifier and Type | Method and Description |
|---|---|
Set<AbstractLintingRule> |
Linter.getActiveRules()
Returns the set of active
AbstractLintingRule to be used on parsed files. |
| Modifier and Type | Method and Description |
|---|---|
void |
LinterSyntaxErrorListener.registerRule(AbstractLintingRule rule)
registers an
AbstractLintingRule so that it can be notified of syntax errors. |
void |
LinterSyntaxErrorListener.unregisterRule(AbstractLintingRule rule)
Unregister a
AbstractLintingRule so that it won't be notified of syntax errors anymore. |
| Constructor and Description |
|---|
Linter(org.thewonderlemming.c4plantuml.commons.Reporter reporter,
Set<AbstractLintingRule> activeRules)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
AddLintingRule |
AddLintingRule.addLintingRule(AbstractLintingRule lintingRule)
Adds a
AbstractLintingRule to the set of active rules. |
| Modifier and Type | Method and Description |
|---|---|
default AddLintingRule |
AddLintingRule.addLintingRules(Set<AbstractLintingRule> lintingRules)
Adds a set of
AbstractLintingRule to the set of active rules. |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractC4Rule
A base implementation of
AbstractLintingRule that provides default support for C4 levels 1 to 3. |
class |
AliasesShouldBeListedInDictionaryRule
A linting rule that verifies that every alias is referenced in a given dictionary file.
|
class |
AliasesShouldBeUniqueRule
A linting rule that checks that aliases are not declared more than once.
|
class |
AliasesShouldFollowStandardConventionRule
A linting rule that checks that the aliases comply to a given regular expression.
|
class |
NoDuplicateRelationshipsRule
A linting rule that checks that relationships are not declared more than once.
|
class |
NoOrphanAliasInBoundariesRule
A linting rule that checks that the aliases used in a boundary are declared in the same source file as part of
any entity.
|
class |
NoOrphanAliasInLayoutsRule
A linting rule that checks that the aliases used in a layout are declared in the same source file as part of
any entity.
|
class |
NoOrphanAliasInRelationshipsRule
A linting rule that checks that the aliases used in a relationship are declared in the same source file as part of
any entity.
|
Copyright © 2020. All rights reserved.