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 |
getShowViolations()
Whether or not rule violations are to be displayed on the console.
|
boolean |
isShowViolations() |
void |
setConfig(TextResource config) |
void |
setConfigFile(File configFile)
The Checkstyle configuration file to use.
|
void |
setConfigProperties(Map<String,Object> configProperties) |
void |
setShowViolations(boolean showViolations) |
getIgnoreFailures, getReportsDir, getSourceSets, getToolVersion, isIgnoreFailures, setIgnoreFailures, setReportsDir, setSourceSets, setToolVersiongetMetaClass, getProperty, invokeMethod, setMetaClass, setPropertypublic 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 boolean getShowViolations()
public void setShowViolations(boolean showViolations)