Class Scanner
- java.lang.Object
-
- io.github.lukehutch.fastclasspathscanner.scanner.Scanner
-
- All Implemented Interfaces:
Callable<ScanResult>
public class Scanner extends Object implements Callable<ScanResult>
The classpath scanner.
-
-
Constructor Summary
Constructors Constructor Description Scanner(ScanSpec scanSpec, ExecutorService executorService, int numParallelTasks, boolean enableRecursiveScanning, ScanResultProcessor scannResultProcessor, FailureHandler failureHandler, LogNode log)The classpath scanner.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ScanResultcall()Determine the unique ordered classpath elements, and run a scan looking for file or classfile matches if necessary.
-
-
-
Constructor Detail
-
Scanner
public Scanner(ScanSpec scanSpec, ExecutorService executorService, int numParallelTasks, boolean enableRecursiveScanning, ScanResultProcessor scannResultProcessor, FailureHandler failureHandler, LogNode log)
The classpath scanner.
-
-
Method Detail
-
call
public ScanResult call() throws InterruptedException, ExecutionException
Determine the unique ordered classpath elements, and run a scan looking for file or classfile matches if necessary.- Specified by:
callin interfaceCallable<ScanResult>- Throws:
InterruptedExceptionExecutionException
-
-