@ThreadSafe
public class AnalyzerService
extends java.lang.Object
Analyzer
.Constructor and Description |
---|
AnalyzerService(java.lang.ClassLoader classLoader,
Settings settings)
Creates a new instance of AnalyzerService.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Analyzer> |
getAnalyzers()
Returns a list of all instances of the Analyzer interface.
|
java.util.List<Analyzer> |
getAnalyzers(AnalysisPhase... phases)
Returns a list of all instances of the Analyzer interface that are bound
to one of the given phases.
|
java.util.List<Analyzer> |
getAnalyzers(java.util.List<AnalysisPhase> phases)
Returns a list of all instances of the Analyzer interface that are bound
to one of the given phases.
|
public AnalyzerService(java.lang.ClassLoader classLoader, Settings settings)
classLoader
- the ClassLoader to use when dynamically loading
Analyzer and Update servicessettings
- the configured settingspublic java.util.List<Analyzer> getAnalyzers()
public java.util.List<Analyzer> getAnalyzers(AnalysisPhase... phases)
phases
- the phases to obtain analyzers forpublic java.util.List<Analyzer> getAnalyzers(java.util.List<AnalysisPhase> phases)
phases
- the phases to obtain analyzers forCopyright© 2012-21 Jeremy Long. All Rights Reserved.