CheckstyleExtension
, CodeNarcExtension
, FindBugsExtension
, JDependExtension
, PmdExtension
public abstract class CodeQualityExtension extends Object
Constructor | Description |
---|---|
CodeQualityExtension() |
Modifier and Type | Method | Description |
---|---|---|
File |
getReportsDir() |
The directory where reports will be generated.
|
Collection<SourceSet> |
getSourceSets() |
The source sets to be analyzed as part of the check and build tasks.
|
String |
getToolVersion() |
The version of the code quality tool to be used.
|
boolean |
isIgnoreFailures() |
Whether to allow the build to continue if there are warnings.
|
void |
setIgnoreFailures(boolean ignoreFailures) |
Whether to allow the build to continue if there are warnings.
|
void |
setReportsDir(File reportsDir) |
The directory where reports will be generated.
|
void |
setSourceSets(Collection<SourceSet> sourceSets) |
The source sets to be analyzed as part of the check and build tasks.
|
void |
setToolVersion(String toolVersion) |
The version of the code quality tool to be used.
|
public String getToolVersion()
public void setToolVersion(String toolVersion)
public Collection<SourceSet> getSourceSets()
public void setSourceSets(Collection<SourceSet> sourceSets)
public boolean isIgnoreFailures()
public void setIgnoreFailures(boolean ignoreFailures)
public File getReportsDir()
public void setReportsDir(File reportsDir)