public class OssIndexAnalyzer extends AbstractAnalyzer
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
REFERENCE_TYPE
The reference type.
|
Constructor and Description |
---|
OssIndexAnalyzer() |
Modifier and Type | Method and Description |
---|---|
protected void |
analyzeDependency(Dependency dependency,
Engine engine)
Analyzes a given dependency.
|
protected void |
closeAnalyzer()
Closes a given 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.
|
boolean |
supportsParallelProcessing()
Run without parallel support.
|
analyze, close, getSettings, initialize, isEnabled, prepare, prepareAnalyzer, setEnabled
public static final java.lang.String REFERENCE_TYPE
public java.lang.String getName()
Analyzer
public AnalysisPhase getAnalysisPhase()
Analyzer
protected java.lang.String getAnalyzerEnabledSettingKey()
AbstractAnalyzer
Returns the setting key to determine if the analyzer is enabled.
getAnalyzerEnabledSettingKey
in class AbstractAnalyzer
public boolean supportsParallelProcessing()
supportsParallelProcessing
in interface Analyzer
supportsParallelProcessing
in class AbstractAnalyzer
protected void closeAnalyzer() throws java.lang.Exception
AbstractAnalyzer
closeAnalyzer
in class AbstractAnalyzer
java.lang.Exception
- thrown if there is an exceptionprotected void analyzeDependency(Dependency dependency, Engine engine) throws AnalysisException
AbstractAnalyzer
analyzeDependency
in class AbstractAnalyzer
dependency
- the dependency to analyzeengine
- the engine scanningAnalysisException
- thrown if there is an analysis exceptionCopyright© 2012-21 Jeremy Long. All Rights Reserved.