@ThreadSafe public class PEAnalyzer extends AbstractFileTypeAnalyzer
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DEPENDENCY_ECOSYSTEM
A descriptor for the type of dependencies processed or added by this
analyzer.
|
| Constructor and Description |
|---|
PEAnalyzer() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
analyzeDependency(Dependency dependency,
Engine engine)
Collects information about the file name.
|
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.
|
protected java.io.FileFilter |
getFileFilter()
Returns the FileFilter.
|
java.lang.String |
getName()
Returns the name of the analyzer.
|
protected void |
prepareFileTypeAnalyzer(Engine engine)
Prepares the file type analyzer for dependency analysis.
|
accept, getFilesMatched, newHashSet, prepareAnalyzer, setFilesMatchedanalyze, close, closeAnalyzer, getSettings, initialize, isEnabled, prepare, setEnabled, supportsParallelProcessingclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitanalyze, close, initialize, isEnabled, prepare, supportsParallelProcessingpublic static final java.lang.String DEPENDENCY_ECOSYSTEM
public 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 AbstractAnalyzerprotected java.io.FileFilter getFileFilter()
getFileFilter in class AbstractFileTypeAnalyzerprotected void prepareFileTypeAnalyzer(Engine engine) throws InitializationException
AbstractFileTypeAnalyzerprepareFileTypeAnalyzer in class AbstractFileTypeAnalyzerengine - a reference to the dependency-check engineInitializationException - thrown if there is an exception during
initializationprotected void analyzeDependency(Dependency dependency, Engine engine) throws AnalysisException
analyzeDependency in class AbstractAnalyzerdependency - the dependency to analyze.engine - the engine that is scanning the dependenciesAnalysisException - is thrown if there is an error analyzing the PE
file.Copyright© 2012-21 Jeremy Long. All Rights Reserved.