Configuration options for the Checkstyle plugin.
Constructor and description |
---|
CheckstyleExtension
(Project project) |
Type | Name 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) |
Methods inherited from class | Name |
---|---|
class CodeQualityExtension |
getIgnoreFailures, getReportsDir, getSourceSets, getToolVersion, isIgnoreFailures, setIgnoreFailures, setReportsDir, setSourceSets, setToolVersion |
class groovy.lang.GroovyObjectSupport |
groovy.lang.GroovyObjectSupport#setProperty(java.lang.String, java.lang.Object), groovy.lang.GroovyObjectSupport#getProperty(java.lang.String), groovy.lang.GroovyObjectSupport#invokeMethod(java.lang.String, java.lang.Object), groovy.lang.GroovyObjectSupport#getMetaClass(), groovy.lang.GroovyObjectSupport#setMetaClass(groovy.lang.MetaClass), groovy.lang.GroovyObjectSupport#wait(long, int), groovy.lang.GroovyObjectSupport#wait(long), groovy.lang.GroovyObjectSupport#wait(), groovy.lang.GroovyObjectSupport#equals(java.lang.Object), groovy.lang.GroovyObjectSupport#toString(), groovy.lang.GroovyObjectSupport#hashCode(), groovy.lang.GroovyObjectSupport#getClass(), groovy.lang.GroovyObjectSupport#notify(), groovy.lang.GroovyObjectSupport#notifyAll() |
The Checkstyle configuration to use. Replaces the configFile
property.
The Checkstyle configuration file to use.
The properties available for use in the configuration file. These are substituted into the configuration file.
Whether or not rule violations are to be displayed on the console. Defaults to true. Example: showViolations = false
The Checkstyle configuration file to use.