public class ComposerLockAnalyzer 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 |
|---|
ComposerLockAnalyzer() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
analyzeDependency(Dependency dependency,
Engine engine)
Entry point for the analyzer.
|
AnalysisPhase |
getAnalysisPhase()
Returns the phase this analyzer should run under.
|
protected java.lang.String |
getAnalyzerEnabledSettingKey()
Gets the key to determine whether the analyzer is enabled.
|
protected java.io.FileFilter |
getFileFilter()
Returns the FileFilter.
|
java.lang.String |
getName()
Returns the analyzer's name.
|
protected void |
prepareFileTypeAnalyzer(Engine engine)
Initializes the analyzer.
|
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
protected java.io.FileFilter getFileFilter()
getFileFilter in class AbstractFileTypeAnalyzerprotected void prepareFileTypeAnalyzer(Engine engine) throws InitializationException
prepareFileTypeAnalyzer in class AbstractFileTypeAnalyzerengine - a reference to the dependency-check engineInitializationException - thrown if an exception occurs getting an
instance of SHA1protected void analyzeDependency(Dependency dependency, Engine engine) throws AnalysisException
analyzeDependency in class AbstractAnalyzerdependency - the dependency to analyzeengine - the engine scanningAnalysisException - if there's a failure during analysisprotected java.lang.String getAnalyzerEnabledSettingKey()
getAnalyzerEnabledSettingKey in class AbstractAnalyzerpublic java.lang.String getName()
public AnalysisPhase getAnalysisPhase()
Copyright© 2012-21 Jeremy Long. All Rights Reserved.