Skip navigation links
A B C D E G H I L M P R S T 

A

analyze(Stream<Path>, BannedImportGroup) - Method in interface de.skuzzle.enforcer.restrictimports.api.SourceTreeAnalyzer
Analyzes all java classes found recursively in the given root directories for matches of banned imports.
AnalyzerFactory - Interface in de.skuzzle.enforcer.restrictimports.api
Factory class for obtaining SourceTreeAnalyzer instances.

B

BannedImportGroup - Class in de.skuzzle.enforcer.restrictimports.model
 
BannedImportGroup(List<PackagePattern>, List<PackagePattern>, List<PackagePattern>, List<PackagePattern>, String) - Constructor for class de.skuzzle.enforcer.restrictimports.model.BannedImportGroup
 

C

checkGroupConsistency(BannedImportGroup) - Method in interface de.skuzzle.enforcer.restrictimports.api.SourceTreeAnalyzer
Checks whether the given group is consistent with respect to all user input.
createAnalyzer() - Method in interface de.skuzzle.enforcer.restrictimports.api.AnalyzerFactory
Creates a new SourceTreeAnalyzer instance.
createAnalyzer() - Method in class de.skuzzle.enforcer.restrictimports.impl.DefaultAnalyzerFactory
 

D

de.skuzzle.enforcer.restrictimports - package de.skuzzle.enforcer.restrictimports
 
de.skuzzle.enforcer.restrictimports.api - package de.skuzzle.enforcer.restrictimports.api
 
de.skuzzle.enforcer.restrictimports.impl - package de.skuzzle.enforcer.restrictimports.impl
 
de.skuzzle.enforcer.restrictimports.model - package de.skuzzle.enforcer.restrictimports.model
 
DefaultAnalyzerFactory - Class in de.skuzzle.enforcer.restrictimports.impl
 

E

equals(Object) - Method in class de.skuzzle.enforcer.restrictimports.impl.PackagePatternImpl
 
execute(EnforcerRuleHelper) - Method in class de.skuzzle.enforcer.restrictimports.RestrictImports
 

G

getAllowedImports() - Method in class de.skuzzle.enforcer.restrictimports.model.BannedImportGroup
 
getBannedImports() - Method in class de.skuzzle.enforcer.restrictimports.model.BannedImportGroup
 
getBasePackages() - Method in class de.skuzzle.enforcer.restrictimports.model.BannedImportGroup
 
getCacheId() - Method in class de.skuzzle.enforcer.restrictimports.RestrictImports
 
getExcludedClasses() - Method in class de.skuzzle.enforcer.restrictimports.model.BannedImportGroup
 
getImportLine() - Method in class de.skuzzle.enforcer.restrictimports.model.Match
 
getInstance() - Static method in interface de.skuzzle.enforcer.restrictimports.api.AnalyzerFactory
Gets an instance of the factory.
getInstance() - Static method in class de.skuzzle.enforcer.restrictimports.impl.DefaultAnalyzerFactory
 
getMatchedString() - Method in class de.skuzzle.enforcer.restrictimports.model.Match
 
getReason() - Method in class de.skuzzle.enforcer.restrictimports.model.BannedImportGroup
 
getSourceFile() - Method in class de.skuzzle.enforcer.restrictimports.model.Match
 

H

hashCode() - Method in class de.skuzzle.enforcer.restrictimports.impl.PackagePatternImpl
 

I

IOUtilsImpl - Class in de.skuzzle.enforcer.restrictimports.impl
 
IOUtilsImpl() - Constructor for class de.skuzzle.enforcer.restrictimports.impl.IOUtilsImpl
 
isCacheable() - Method in class de.skuzzle.enforcer.restrictimports.RestrictImports
 
isFile(Path) - Method in class de.skuzzle.enforcer.restrictimports.impl.IOUtilsImpl
 
isResultValid(EnforcerRule) - Method in class de.skuzzle.enforcer.restrictimports.RestrictImports
 

L

lines(Path) - Method in class de.skuzzle.enforcer.restrictimports.impl.IOUtilsImpl
 
listFiles(Path, Predicate<Path>) - Method in class de.skuzzle.enforcer.restrictimports.impl.IOUtilsImpl
 

M

Match - Class in de.skuzzle.enforcer.restrictimports.model
Represents a single match of a banned import within a java source file.
Match(String, int, String) - Constructor for class de.skuzzle.enforcer.restrictimports.model.Match
 
matches(PackagePattern) - Method in class de.skuzzle.enforcer.restrictimports.impl.PackagePatternImpl
 
matches(String) - Method in class de.skuzzle.enforcer.restrictimports.impl.PackagePatternImpl
 
matches(String) - Method in interface de.skuzzle.enforcer.restrictimports.model.PackagePattern
Tests whether the given package name is matched by this package pattern instance.
matches(PackagePattern) - Method in interface de.skuzzle.enforcer.restrictimports.model.PackagePattern
Tests whether the given package pattern is matched by this package pattern instance.

P

PackagePattern - Interface in de.skuzzle.enforcer.restrictimports.model
Pattern class to match java style package and class names using wild card operators.
PackagePatternImpl - Class in de.skuzzle.enforcer.restrictimports.impl
 
PackagePatternImpl(String) - Constructor for class de.skuzzle.enforcer.restrictimports.impl.PackagePatternImpl
 
parse(String) - Static method in interface de.skuzzle.enforcer.restrictimports.model.PackagePattern
Parses the given String into a PackagePattern.
parseAll(Collection<String>) - Static method in interface de.skuzzle.enforcer.restrictimports.model.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
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
 
RuntimeIOException - Exception in de.skuzzle.enforcer.restrictimports.api
Runtime exception replacement for IOException.
RuntimeIOException(IOException) - Constructor for exception de.skuzzle.enforcer.restrictimports.api.RuntimeIOException
 

S

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

T

toString() - Method in class de.skuzzle.enforcer.restrictimports.impl.PackagePatternImpl
 
A B C D E G H I L M P R S T 
Skip navigation links

Copyright © 2014–2018. All rights reserved.