|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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)
AnalyzerDescriptor
Analyzer
. Will be displayed in logs.
name
in interface AnalyzerDescriptor
public DefaultAnalyzerDescriptor dependsOn(Metric<?>... metrics)
AnalyzerDescriptor
Metric
this Analyzer
depends on. Will be used to execute Analyzers in correct order.
dependsOn
in interface AnalyzerDescriptor
public DefaultAnalyzerDescriptor provides(Metric<?>... metrics)
AnalyzerDescriptor
Metric
this Analyzer
provides. Will be used to execute Analyzers in correct order.
provides
in interface AnalyzerDescriptor
public DefaultAnalyzerDescriptor workOnLanguages(String... languageKeys)
AnalyzerDescriptor
Analyzer
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 AnalyzerDescriptor
public DefaultAnalyzerDescriptor workOnFileTypes(InputFile.Type... types)
AnalyzerDescriptor
InputFile.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 AnalyzerDescriptor
public DefaultAnalyzerDescriptor createIssuesForRuleRepositories(String... repositoryKeys)
AnalyzerDescriptor
InputFile.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 |