public interface SourceTreeAnalyzer
| Modifier and Type | Method and Description |
|---|---|
Map<String,List<Match>> |
analyze(Stream<Path> roots,
BannedImportGroup group)
Analyzes all java classes found recursively in the given root directories for
matches of banned imports.
|
void |
checkGroupConsistency(BannedImportGroup group)
Checks whether the given group is consistent with respect to all user input.
|
void checkGroupConsistency(BannedImportGroup group) throws org.apache.maven.enforcer.rule.api.EnforcerRuleException
group - The group to check.org.apache.maven.enforcer.rule.api.EnforcerRuleException - If the group is not consistent.Map<String,List<Match>> analyze(Stream<Path> roots, BannedImportGroup group)
roots - The source directories.group - The banned import.Copyright © 2014–2018. All rights reserved.