@ThreadSafe public class AnalysisTask extends Object implements Callable<Void>
Dependency by a specific Analyzer.| Constructor and Description |
|---|
AnalysisTask(Analyzer analyzer,
Dependency dependency,
Engine engine,
List<Throwable> exceptions)
Creates a new analysis task.
|
| Modifier and Type | Method and Description |
|---|---|
Void |
call()
Executes the analysis task.
|
protected boolean |
shouldAnalyze()
Determines if the analyzer can analyze the given dependency.
|
public AnalysisTask(Analyzer analyzer, Dependency dependency, Engine engine, List<Throwable> exceptions)
analyzer - a reference of the analyzer to executedependency - the dependency to analyzeengine - the dependency-check engineexceptions - exceptions that occur during analysis will be added to
this collection of exceptionsCopyright © 2012–2020 OWASP. All rights reserved.