Interface ClassGraph.ClasspathElementURLFilter

  • Enclosing class:
    ClassGraph
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public static interface ClassGraph.ClasspathElementURLFilter
    Add a classpath element URL filter. The includeClasspathElement method should return true if the URL passed to it corresponds to a classpath element that you want to scan.
    • Method Detail

      • includeClasspathElement

        boolean includeClasspathElement​(java.net.URL classpathElementURL)
        Whether or not to include a given classpath element in the scan.
        Parameters:
        classpathElementURL - The URL of a classpath element.
        Returns:
        true if you want to scan the URL.