| Package | Description |
|---|---|
| de.skuzzle.enforcer.restrictimports.analyze | |
| de.skuzzle.enforcer.restrictimports.rule |
| Modifier and Type | Method and Description |
|---|---|
BannedImportGroup |
BannedImportGroup.Builder.build()
Assembles the
BannedImportGroup from this builder. |
BannedImportGroup |
MatchedFile.getMatchedBy()
Returns the group that contains the banned import that caused the match in this
file.
|
| Modifier and Type | Method and Description |
|---|---|
Optional<BannedImportGroup> |
BannedImportGroups.selectGroupFor(String fqcn)
Selects the
BannedImportGroup with the most specific base package matching
the given full qualified class name. |
Map<BannedImportGroup,List<MatchedFile>> |
AnalyzeResult.srcMatchesByGroup()
Returns the matches that occurred in compile source files grouped by their
BannedImportGroup |
Map<BannedImportGroup,List<MatchedFile>> |
AnalyzeResult.testMatchesByGroup()
Returns the matches that occurred in test source files grouped by their
BannedImportGroup |
| Modifier and Type | Method and Description |
|---|---|
MatchedFile.Builder |
MatchedFile.Builder.matchedBy(BannedImportGroup group)
Sets the group that contained the banned import that caused a match for this
file.
|
BannedImportGroups.Builder |
BannedImportGroups.Builder.withGroup(BannedImportGroup group) |
| Modifier and Type | Method and Description |
|---|---|
BannedImportGroups.Builder |
BannedImportGroups.Builder.withGroups(Collection<BannedImportGroup> groups) |
| Modifier and Type | Method and Description |
|---|---|
BannedImportGroup |
BannedImportGroupDefinition.createGroupFromPluginConfiguration() |
Copyright © 2014–2019. All rights reserved.