Class AnalyzerService
java.lang.Object
org.owasp.dependencycheck.analyzer.AnalyzerService
-
Constructor Summary
ConstructorsConstructorDescriptionAnalyzerService(ClassLoader classLoader, Settings settings) Creates a new instance of AnalyzerService. -
Method Summary
Modifier and TypeMethodDescriptionReturns a list of all instances of the Analyzer interface.getAnalyzers(List<AnalysisPhase> phases) Returns a list of all instances of the Analyzer interface that are bound to one of the given phases.getAnalyzers(AnalysisPhase... phases) Returns a list of all instances of the Analyzer interface that are bound to one of the given phases.
-
Constructor Details
-
AnalyzerService
Creates a new instance of AnalyzerService.- Parameters:
classLoader- the ClassLoader to use when dynamically loading Analyzer and Update servicessettings- the configured settings
-
-
Method Details
-
getAnalyzers
-
getAnalyzers
Returns a list of all instances of the Analyzer interface that are bound to one of the given phases.- Parameters:
phases- the phases to obtain analyzers for- Returns:
- a list of Analyzers.
-
getAnalyzers
Returns a list of all instances of the Analyzer interface that are bound to one of the given phases.- Parameters:
phases- the phases to obtain analyzers for- Returns:
- a list of Analyzers
-