groovy.lang.GroovyObject
, Cloneable
public class CodeNarcTask
extends org.apache.tools.ant.Task
implements groovy.lang.GroovyObject
Modifier and Type | Field | Description |
---|---|---|
protected groovy.lang.Closure |
createCodeNarcRunner |
|
protected List |
fileSets |
|
protected List |
reportWriters |
|
protected RuleSet |
ruleSet |
Constructor | Description |
---|---|
CodeNarcTask() |
Modifier and Type | Method | Description |
---|---|---|
void |
addConfiguredReport(Report report) |
|
void |
addFileset(org.apache.tools.ant.types.FileSet fileSet) |
|
org.apache.tools.ant.types.Path |
createClasspath() |
|
protected SourceAnalyzer |
createSourceAnalyzer() |
|
void |
execute() |
|
org.apache.tools.ant.types.Path |
getClasspath() |
|
String |
getExcludeBaseline() |
|
int |
getMaxPriority1Violations() |
|
int |
getMaxPriority2Violations() |
|
int |
getMaxPriority3Violations() |
|
groovy.lang.MetaClass |
getMetaClass() |
|
Object |
getProperty(String property) |
|
String |
getRuleSetFiles() |
|
Object |
invokeMethod(String method,
Object arguments) |
|
void |
setClasspath(org.apache.tools.ant.types.Path value) |
|
void |
setClasspathRef(org.apache.tools.ant.types.Reference reference) |
|
void |
setExcludeBaseline(String value) |
|
void |
setMaxPriority1Violations(int value) |
|
void |
setMaxPriority2Violations(int value) |
|
void |
setMaxPriority3Violations(int value) |
|
void |
setMetaClass(groovy.lang.MetaClass mc) |
|
void |
setProperty(String property,
Object value) |
|
void |
setRuleSetFiles(String value) |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
protected List reportWriters
protected List fileSets
protected RuleSet ruleSet
protected groovy.lang.Closure createCodeNarcRunner
public groovy.lang.MetaClass getMetaClass()
getMetaClass
in interface groovy.lang.GroovyObject
public void setMetaClass(groovy.lang.MetaClass mc)
setMetaClass
in interface groovy.lang.GroovyObject
public Object invokeMethod(String method, Object arguments)
invokeMethod
in interface groovy.lang.GroovyObject
public Object getProperty(String property)
getProperty
in interface groovy.lang.GroovyObject
public void setProperty(String property, Object value)
setProperty
in interface groovy.lang.GroovyObject
public String getRuleSetFiles()
public void setRuleSetFiles(String value)
public String getExcludeBaseline()
public void setExcludeBaseline(String value)
public int getMaxPriority1Violations()
public void setMaxPriority1Violations(int value)
public int getMaxPriority2Violations()
public void setMaxPriority2Violations(int value)
public int getMaxPriority3Violations()
public void setMaxPriority3Violations(int value)
public org.apache.tools.ant.types.Path getClasspath()
public void setClasspath(org.apache.tools.ant.types.Path value)
public void execute() throws org.apache.tools.ant.BuildException
execute
in class org.apache.tools.ant.Task
org.apache.tools.ant.BuildException
public void addFileset(org.apache.tools.ant.types.FileSet fileSet)
public void addConfiguredReport(Report report)
public org.apache.tools.ant.types.Path createClasspath()
public void setClasspathRef(org.apache.tools.ant.types.Reference reference)
protected SourceAnalyzer createSourceAnalyzer()
Copyright © 2019. All rights reserved.