public class CheckstyleExtension extends CodeQualityExtension
CheckstylePlugin
Constructor and Description |
---|
CheckstyleExtension(Project project) |
Modifier and Type | Method and Description |
---|---|
TextResource |
getConfig()
The Checkstyle configuration to use.
|
File |
getConfigFile()
The Checkstyle configuration file to use.
|
Map<String,Object> |
getConfigProperties()
The properties available for use in the configuration file.
|
boolean |
isShowViolations()
Whether or not rule violations are to be displayed on the console.
|
void |
setConfig(TextResource config) |
void |
setConfigFile(File configFile)
The Checkstyle configuration file to use.
|
void |
setConfigProperties(Map<String,Object> configProperties) |
void |
setShowViolations(boolean showViolations) |
getReportsDir, getSourceSets, getToolVersion, isIgnoreFailures, setIgnoreFailures, setReportsDir, setSourceSets, setToolVersion
public CheckstyleExtension(Project project)
public File getConfigFile()
@Incubating public TextResource getConfig()
configFile
property.public void setConfigFile(File configFile)
public void setConfig(TextResource config)
public Map<String,Object> getConfigProperties()
public boolean isShowViolations()
public void setShowViolations(boolean showViolations)