public final class AnalyzeResult extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
AnalyzeResult.Builder |
| Modifier and Type | Method and Description |
|---|---|
boolean |
bannedImportsFound()
Returns whether at least one banned import has been found within the
analyzed compile OR test source files.
|
boolean |
bannedImportsInCompileCode()
Returns whether at least one banned import has been found within the
analyzed compile source code.
|
boolean |
bannedImportsInTestCode()
Returns whether at least one banned import has been found within the
analyzed test source code.
|
static AnalyzeResult.Builder |
builder() |
boolean |
equals(Object obj) |
List<MatchedFile> |
getSrcMatches()
Contains all the matches that were found within the analyzed compile
source files.
|
List<MatchedFile> |
getTestMatches()
Contains all the matches that were found within the analyzed test source
files.
|
int |
hashCode() |
Map<BannedImportGroup,List<MatchedFile>> |
srcMatchesByGroup()
Returns the matches that occurred in compile source files grouped by their
BannedImportGroup |
Map<BannedImportGroup,List<MatchedFile>> |
testMatchesByGroup()
Returns the matches that occurred in test source files grouped by their
BannedImportGroup |
String |
toString() |
public static AnalyzeResult.Builder builder()
public List<MatchedFile> getSrcMatches()
public Map<BannedImportGroup,List<MatchedFile>> srcMatchesByGroup()
BannedImportGroupBannedImportGrouppublic List<MatchedFile> getTestMatches()
public Map<BannedImportGroup,List<MatchedFile>> testMatchesByGroup()
BannedImportGroupBannedImportGrouppublic boolean bannedImportsFound()
public boolean bannedImportsInCompileCode()
public boolean bannedImportsInTestCode()
Copyright © 2014–2019. All rights reserved.