|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sonar.api.batch.analyzer.internal.DefaultAnalyzerDescriptor
public class DefaultAnalyzerDescriptor
| Constructor Summary | |
|---|---|
DefaultAnalyzerDescriptor()
|
|
| Method Summary | |
|---|---|
DefaultAnalyzerDescriptor |
createIssuesForRuleRepositories(String... repositoryKeys)
List InputFile.Type this Analyzer work on. |
Metric[] |
dependsOn()
|
DefaultAnalyzerDescriptor |
dependsOn(Metric<?>... metrics)
List Metric this Analyzer depends on. |
Collection<String> |
languages()
|
String |
name()
|
DefaultAnalyzerDescriptor |
name(String name)
Name of the Analyzer. |
Metric[] |
provides()
|
DefaultAnalyzerDescriptor |
provides(Metric<?>... metrics)
List Metric this Analyzer provides. |
Collection<String> |
ruleRepositories()
|
Collection<InputFile.Type> |
types()
|
DefaultAnalyzerDescriptor |
workOnFileTypes(InputFile.Type... types)
List InputFile.Type this Analyzer work on. |
DefaultAnalyzerDescriptor |
workOnLanguages(String... languageKeys)
List languages this Analyzer work on. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultAnalyzerDescriptor()
| Method Detail |
|---|
public String name()
public Metric[] dependsOn()
public Metric[] provides()
public Collection<String> languages()
public Collection<InputFile.Type> types()
public Collection<String> ruleRepositories()
public DefaultAnalyzerDescriptor name(String name)
AnalyzerDescriptorAnalyzer. Will be displayed in logs.
name in interface AnalyzerDescriptorpublic DefaultAnalyzerDescriptor dependsOn(Metric<?>... metrics)
AnalyzerDescriptorMetric this Analyzer depends on. Will be used to execute Analyzers in correct order.
dependsOn in interface AnalyzerDescriptorpublic DefaultAnalyzerDescriptor provides(Metric<?>... metrics)
AnalyzerDescriptorMetric this Analyzer provides. Will be used to execute Analyzers in correct order.
provides in interface AnalyzerDescriptorpublic DefaultAnalyzerDescriptor workOnLanguages(String... languageKeys)
AnalyzerDescriptorAnalyzer work on. May be used by the platform to skip execution of the Analyzer when
no file for given languages are present in the project.
If no language is provided then it will be executed for all languages.
workOnLanguages in interface AnalyzerDescriptorpublic DefaultAnalyzerDescriptor workOnFileTypes(InputFile.Type... types)
AnalyzerDescriptorInputFile.Type this Analyzer work on. May be used by the platform to skip execution of the Analyzer when
no file for given type are present in the project.
If not type is provided then it will be executed for all types.
workOnFileTypes in interface AnalyzerDescriptorpublic DefaultAnalyzerDescriptor createIssuesForRuleRepositories(String... repositoryKeys)
AnalyzerDescriptorInputFile.Type this Analyzer work on. May be used by the platform to skip execution of the Analyzer when
no file for given type are present in the project.
If not type is provided then it will be executed for all types.
createIssuesForRuleRepositories in interface AnalyzerDescriptor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||