JarScanFilter (Apache Tomcat 9.0.83 API Documentation)
Description: declaration: package: org.apache.tomcat, interface: JarScanFilter

Package org.apache.tomcat

# Interface JarScanFilter

All Known Implementing Classes:
  `StandardJarScanFilter`

public interface JarScanFilter

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `check(JarScanType jarScanType, String jarName)`
  `default boolean`
  `isSkipAll()`

- ## Method Details

  - ### check

    boolean check(JarScanType jarScanType, String jarName)
    Parameters:
      `jarScanType` - The type of JAR scan currently being performed
      `jarName` - 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:
      `true` if the JAR should be returned in the results, `false` if it should be excluded

  - ### isSkipAll

    default boolean isSkipAll()
    Returns:
      `true` if all of the scans should be skipped which can improve startup performance. The default is `false`.