A B C D E F G H I M P R S T W 

A

analyze(AnalyzerSettings, BannedImportGroup) - Method in interface de.skuzzle.enforcer.restrictimports.analyze.SourceTreeAnalyzer
Analyzes all java classes found recursively in the given root directories for matches of banned imports.
AnalyzeResult - Class in de.skuzzle.enforcer.restrictimports.analyze
 
AnalyzeResult.Builder - Class in de.skuzzle.enforcer.restrictimports.analyze
 
AnalyzerSettings - Class in de.skuzzle.enforcer.restrictimports.analyze
Defines context information for the SourceTreeAnalyzer.
AnalyzerSettings.Builder - Class in de.skuzzle.enforcer.restrictimports.analyze
 

B

BannedImportGroup - Class in de.skuzzle.enforcer.restrictimports.analyze
Holds the user configured information of what imports should be banned including all further meta information like base packages, allowed imports and excluded classes.
BannedImportGroup.Builder - Class in de.skuzzle.enforcer.restrictimports.analyze
 
bannedImportsFound() - Method in class de.skuzzle.enforcer.restrictimports.analyze.AnalyzeResult
Returns whether at least one banned import has been found within the analyzed java source files.
build() - Method in class de.skuzzle.enforcer.restrictimports.analyze.AnalyzeResult.Builder
 
build() - Method in class de.skuzzle.enforcer.restrictimports.analyze.AnalyzerSettings.Builder
 
build() - Method in class de.skuzzle.enforcer.restrictimports.analyze.BannedImportGroup.Builder
 
build() - Method in class de.skuzzle.enforcer.restrictimports.analyze.MatchedFile.Builder
Creates the MatchedFile instance.
builder() - Static method in class de.skuzzle.enforcer.restrictimports.analyze.AnalyzeResult
 
builder() - Static method in class de.skuzzle.enforcer.restrictimports.analyze.AnalyzerSettings
 
builder() - Static method in class de.skuzzle.enforcer.restrictimports.analyze.BannedImportGroup
 

C

CommentBufferOverflowException - Exception in de.skuzzle.enforcer.restrictimports.analyze
Thrown if the TransientCommentReader's comment line buffer is too small.

D

de.skuzzle.enforcer.restrictimports - package de.skuzzle.enforcer.restrictimports
 
de.skuzzle.enforcer.restrictimports.analyze - package de.skuzzle.enforcer.restrictimports.analyze
 
de.skuzzle.enforcer.restrictimports.formatting - package de.skuzzle.enforcer.restrictimports.formatting
 
de.skuzzle.enforcer.restrictimports.rule - package de.skuzzle.enforcer.restrictimports.rule
 

E

equals(Object) - Method in class de.skuzzle.enforcer.restrictimports.analyze.AnalyzeResult
 
equals(Object) - Method in class de.skuzzle.enforcer.restrictimports.analyze.AnalyzerSettings
 
equals(Object) - Method in class de.skuzzle.enforcer.restrictimports.analyze.BannedImportGroup
 
equals(Object) - Method in class de.skuzzle.enforcer.restrictimports.analyze.MatchedFile
 
equals(Object) - Method in class de.skuzzle.enforcer.restrictimports.analyze.MatchedImport
 
execute(EnforcerRuleHelper) - Method in class de.skuzzle.enforcer.restrictimports.RestrictImports
Deprecated.
 
execute(EnforcerRuleHelper) - Method in class de.skuzzle.enforcer.restrictimports.rule.RestrictImports
 

F

formatMatches(Collection<Path>, AnalyzeResult, BannedImportGroup) - Method in interface de.skuzzle.enforcer.restrictimports.formatting.MatchFormatter
 
forSourceFile(Path) - Static method in class de.skuzzle.enforcer.restrictimports.analyze.MatchedFile
Constructs a MatchedFile

G

getAllowedImports() - Method in class de.skuzzle.enforcer.restrictimports.analyze.BannedImportGroup
 
getBannedImports() - Method in class de.skuzzle.enforcer.restrictimports.analyze.BannedImportGroup
 
getBasePackages() - Method in class de.skuzzle.enforcer.restrictimports.analyze.BannedImportGroup
 
getCacheId() - Method in class de.skuzzle.enforcer.restrictimports.rule.RestrictImports
 
getCommentLineBufferSize() - Method in class de.skuzzle.enforcer.restrictimports.analyze.AnalyzerSettings
 
getExcludedClasses() - Method in class de.skuzzle.enforcer.restrictimports.analyze.BannedImportGroup
 
getFileMatches() - Method in class de.skuzzle.enforcer.restrictimports.analyze.AnalyzeResult
Contains all the matches that were found within the analyzed java source files.
getImportLine() - Method in class de.skuzzle.enforcer.restrictimports.analyze.MatchedImport
 
getInstance() - Static method in interface de.skuzzle.enforcer.restrictimports.analyze.SourceTreeAnalyzer
Creates a new SourceTreeAnalyzer instance.
getInstance() - Static method in interface de.skuzzle.enforcer.restrictimports.formatting.MatchFormatter
 
getMatchedBy() - Method in class de.skuzzle.enforcer.restrictimports.analyze.MatchedImport
 
getMatchedImports() - Method in class de.skuzzle.enforcer.restrictimports.analyze.MatchedFile
The matches found in this file.
getMatchedString() - Method in class de.skuzzle.enforcer.restrictimports.analyze.MatchedImport
 
getReason() - Method in class de.skuzzle.enforcer.restrictimports.analyze.BannedImportGroup
 
getRootDirectories() - Method in class de.skuzzle.enforcer.restrictimports.analyze.AnalyzerSettings
 
getSourceFile() - Method in class de.skuzzle.enforcer.restrictimports.analyze.MatchedFile
The java source file containing the matches.
getSourceFileCharset() - Method in class de.skuzzle.enforcer.restrictimports.analyze.AnalyzerSettings
 

H

hashCode() - Method in class de.skuzzle.enforcer.restrictimports.analyze.AnalyzeResult
 
hashCode() - Method in class de.skuzzle.enforcer.restrictimports.analyze.AnalyzerSettings
 
hashCode() - Method in class de.skuzzle.enforcer.restrictimports.analyze.BannedImportGroup
 
hashCode() - Method in class de.skuzzle.enforcer.restrictimports.analyze.MatchedFile
 
hashCode() - Method in class de.skuzzle.enforcer.restrictimports.analyze.MatchedImport
 

I

isCacheable() - Method in class de.skuzzle.enforcer.restrictimports.rule.RestrictImports
 
isResultValid(EnforcerRule) - Method in class de.skuzzle.enforcer.restrictimports.rule.RestrictImports
 
isStatic() - Method in interface de.skuzzle.enforcer.restrictimports.analyze.PackagePattern
Whether this is a pattern starting with 'static '.

M

MatchedFile - Class in de.skuzzle.enforcer.restrictimports.analyze
Holds the matches that were found within a single java source file.
MatchedFile.Builder - Class in de.skuzzle.enforcer.restrictimports.analyze
 
MatchedImport - Class in de.skuzzle.enforcer.restrictimports.analyze
Represents a single match of a banned import within a java source file.
matches(PackagePattern) - Method in interface de.skuzzle.enforcer.restrictimports.analyze.PackagePattern
Tests whether the given package pattern is matched by this package pattern instance.
matches(String) - Method in interface de.skuzzle.enforcer.restrictimports.analyze.PackagePattern
Tests whether the given package name is matched by this package pattern instance.
MatchFormatter - Interface in de.skuzzle.enforcer.restrictimports.formatting
 

P

PackagePattern - Interface in de.skuzzle.enforcer.restrictimports.analyze
Pattern class to match java style package and class names using wild card operators.
parse(String) - Static method in interface de.skuzzle.enforcer.restrictimports.analyze.PackagePattern
Parses the given String into a PackagePattern.
parseAll(Collection<String>) - Static method in interface de.skuzzle.enforcer.restrictimports.analyze.PackagePattern
Parses each string of the given collection into a PackagePattern and returns them in a list.

R

RestrictImports - Class in de.skuzzle.enforcer.restrictimports
Deprecated.
Use RestrictImports instead.
RestrictImports - Class in de.skuzzle.enforcer.restrictimports.rule
Enforcer rule which restricts the usage of certain packages or classes within a Java code base.
RestrictImports() - Constructor for class de.skuzzle.enforcer.restrictimports.RestrictImports
Deprecated.
 
RestrictImports() - Constructor for class de.skuzzle.enforcer.restrictimports.rule.RestrictImports
 
RuntimeIOException - Exception in de.skuzzle.enforcer.restrictimports.analyze
Runtime exception replacement for IOException.
RuntimeIOException(String, IOException) - Constructor for exception de.skuzzle.enforcer.restrictimports.analyze.RuntimeIOException
 

S

setAllowedImport(String) - Method in class de.skuzzle.enforcer.restrictimports.rule.RestrictImports
 
setAllowedImports(List<String>) - Method in class de.skuzzle.enforcer.restrictimports.rule.RestrictImports
 
setBannedImport(String) - Method in class de.skuzzle.enforcer.restrictimports.rule.RestrictImports
 
setBannedImports(List<String>) - Method in class de.skuzzle.enforcer.restrictimports.rule.RestrictImports
 
setBasePackage(String) - Method in class de.skuzzle.enforcer.restrictimports.rule.RestrictImports
 
setBasePackages(List<String>) - Method in class de.skuzzle.enforcer.restrictimports.rule.RestrictImports
 
setCommentLineBufferSize(int) - Method in class de.skuzzle.enforcer.restrictimports.rule.RestrictImports
 
setExclusion(String) - Method in class de.skuzzle.enforcer.restrictimports.rule.RestrictImports
 
setExclusions(List<String>) - Method in class de.skuzzle.enforcer.restrictimports.rule.RestrictImports
 
setIncludeTestCode(boolean) - Method in class de.skuzzle.enforcer.restrictimports.rule.RestrictImports
 
setReason(String) - Method in class de.skuzzle.enforcer.restrictimports.rule.RestrictImports
 
setSourceFileCharset(String) - Method in class de.skuzzle.enforcer.restrictimports.rule.RestrictImports
 
SourceTreeAnalyzer - Interface in de.skuzzle.enforcer.restrictimports.analyze
Analyzes the whole source tree for matches of banned imports.

T

toString() - Method in class de.skuzzle.enforcer.restrictimports.analyze.AnalyzeResult
 
toString() - Method in class de.skuzzle.enforcer.restrictimports.analyze.AnalyzerSettings
 
toString() - Method in class de.skuzzle.enforcer.restrictimports.analyze.BannedImportGroup
 
toString() - Method in class de.skuzzle.enforcer.restrictimports.analyze.MatchedFile
 
toString() - Method in class de.skuzzle.enforcer.restrictimports.analyze.MatchedImport
 

W

withAllowedImports(String...) - Method in class de.skuzzle.enforcer.restrictimports.analyze.BannedImportGroup.Builder
 
withAllowedImports(List<PackagePattern>) - Method in class de.skuzzle.enforcer.restrictimports.analyze.BannedImportGroup.Builder
 
withBannedImports(String...) - Method in class de.skuzzle.enforcer.restrictimports.analyze.BannedImportGroup.Builder
 
withBannedImports(List<PackagePattern>) - Method in class de.skuzzle.enforcer.restrictimports.analyze.BannedImportGroup.Builder
 
withBasePackages(String...) - Method in class de.skuzzle.enforcer.restrictimports.analyze.BannedImportGroup.Builder
 
withBasePackages(List<PackagePattern>) - Method in class de.skuzzle.enforcer.restrictimports.analyze.BannedImportGroup.Builder
 
withCommentLineBufferSize(int) - Method in class de.skuzzle.enforcer.restrictimports.analyze.AnalyzerSettings.Builder
 
withExcludedClasses(String...) - Method in class de.skuzzle.enforcer.restrictimports.analyze.BannedImportGroup.Builder
 
withExcludedClasses(List<PackagePattern>) - Method in class de.skuzzle.enforcer.restrictimports.analyze.BannedImportGroup.Builder
 
withMatchAt(int, String, PackagePattern) - Method in class de.skuzzle.enforcer.restrictimports.analyze.MatchedFile.Builder
Records a matched import within this file.
withMatches(MatchedFile.Builder...) - Method in class de.skuzzle.enforcer.restrictimports.analyze.AnalyzeResult.Builder
 
withReason(String) - Method in class de.skuzzle.enforcer.restrictimports.analyze.BannedImportGroup.Builder
 
withRootDirectories(Path...) - Method in class de.skuzzle.enforcer.restrictimports.analyze.AnalyzerSettings.Builder
 
withRootDirectories(Collection<Path>) - Method in class de.skuzzle.enforcer.restrictimports.analyze.AnalyzerSettings.Builder
 
withSourceFileCharset(Charset) - Method in class de.skuzzle.enforcer.restrictimports.analyze.AnalyzerSettings.Builder
 
A B C D E F G H I M P R S T W 
Skip navigation links

Copyright © 2014–2018. All rights reserved.