@ThreadSafe public abstract class AbstractSuppressionAnalyzer extends AbstractAnalyzer
| Constructor and Description |
|---|
AbstractSuppressionAnalyzer() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
analyzeDependency(Dependency dependency,
Engine engine)
Analyzes a given dependency.
|
protected int |
getRuleCount()
Get the number of suppression rules.
|
Set<String> |
getSupportedExtensions()
Returns a list of file EXTENSIONS supported by this analyzer.
|
void |
prepareAnalyzer(Engine engine)
The prepare method loads the suppression XML file.
|
analyze, close, closeAnalyzer, getAnalyzerEnabledSettingKey, getSettings, initialize, isEnabled, prepare, setEnabled, supportsParallelProcessingclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAnalysisPhase, getNameprotected int getRuleCount()
public Set<String> getSupportedExtensions()
public void prepareAnalyzer(Engine engine) throws InitializationException
prepareAnalyzer in class AbstractAnalyzerengine - a reference the dependency-check engineInitializationException - thrown if there is an exceptionprotected void analyzeDependency(Dependency dependency, Engine engine) throws AnalysisException
AbstractAnalyzeranalyzeDependency in class AbstractAnalyzerdependency - the dependency to analyzeengine - the engine scanningAnalysisException - thrown if there is an analysis exceptionCopyright © 2012–2020 OWASP. All rights reserved.