Class AnalysisTask
java.lang.Object
org.owasp.dependencycheck.AnalysisTask
Task to support parallelism of dependency-check analysis. Analysis a single
Dependency by a specific Analyzer.- Author:
- Stefan Neuhaus
-
Constructor Summary
ConstructorsConstructorDescriptionAnalysisTask(Analyzer analyzer, Dependency dependency, Engine engine, List<Throwable> exceptions) Creates a new analysis task. -
Method Summary
Modifier and TypeMethodDescriptioncall()Executes the analysis task.protected booleanDetermines if the analyzer can analyze the given dependency.
-
Constructor Details
-
AnalysisTask
public AnalysisTask(Analyzer analyzer, Dependency dependency, Engine engine, List<Throwable> exceptions) Creates a new analysis task.- Parameters:
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 exceptions
-
-
Method Details
-
call
-
shouldAnalyze
protected boolean shouldAnalyze()Determines if the analyzer can analyze the given dependency.- Returns:
- whether or not the analyzer can analyze the dependency
-