Interface JarScanFilter
- All Known Implementing Classes:
StandardJarScanFilter
public interface JarScanFilter
Filter used to determine which JAR files should be included in a scan.
-
Method Summary
Modifier and TypeMethodDescriptionbooleancheck(JarScanType jarScanType, String jarName) Check if a JAR should be included in the scan results.default booleanDetermine if all JAR scans should be skipped.
-
Method Details
-
check
Check if a JAR should be included in the scan results.- Parameters:
jarScanType- The type of JAR scan currently being performedjarName- The name of the JAR file (without any path information) to be checked to see if it should be included in the results or not- Returns:
trueif the JAR should be returned in the results,falseif it should be excluded
-
isSkipAll
default boolean isSkipAll()Determine if all JAR scans should be skipped.- Returns:
trueif all of the scans should be skipped which can improve startup performance. The default isfalse.
-