@ThreadSafe public class VulnerabilitySuppressionAnalyzer extends AbstractSuppressionAnalyzer
SUPPRESSION_OBJECT_KEY| Constructor and Description |
|---|
VulnerabilitySuppressionAnalyzer() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
analyzeDependency(Dependency dependency,
Engine engine)
Analyzes a given dependency.
|
boolean |
filter(SuppressionRule rule)
Determines whether a suppression rule should be retained when filtering a
set of suppression rules for a concrete suppression analyzer.
|
AnalysisPhase |
getAnalysisPhase()
Returns the phase that the analyzer is intended to run in.
|
protected java.lang.String |
getAnalyzerEnabledSettingKey()
Returns the setting key to determine if the analyzer is enabled.
|
java.lang.String |
getName()
Returns the name of the analyzer.
|
getRuleCount, getSupportedExtensions, prepareAnalyzeranalyze, close, closeAnalyzer, getSettings, initialize, isEnabled, prepare, setEnabled, supportsParallelProcessingpublic java.lang.String getName()
public AnalysisPhase getAnalysisPhase()
protected java.lang.String getAnalyzerEnabledSettingKey()
Returns the setting key to determine if the analyzer is enabled.
getAnalyzerEnabledSettingKey in class AbstractAnalyzerpublic boolean filter(SuppressionRule rule)
AbstractSuppressionAnalyzerrule - the suppression rule to evaluatetrue if the rule should be retained; otherwise
falseprotected void analyzeDependency(Dependency dependency, Engine engine) throws AnalysisException
AbstractAnalyzeranalyzeDependency in class AbstractSuppressionAnalyzerdependency - the dependency to analyzeengine - the engine scanningAnalysisException - thrown if there is an analysis exceptionCopyright© 2012-21 Jeremy Long. All Rights Reserved.