groovy.lang.GroovyObject
public class CodeNarc extends Object implements groovy.lang.GroovyObject
Modifier and Type | Field | Description |
---|---|---|
protected String |
baseDir |
|
protected groovy.lang.Closure |
createCodeNarcRunner |
|
protected String |
excludes |
|
protected static String |
HELP |
|
protected String |
includes |
|
protected int |
maxPriority1Violations |
|
protected int |
maxPriority2Violations |
|
protected int |
maxPriority3Violations |
|
protected List |
reports |
|
protected String |
ruleSetFiles |
|
protected static groovy.lang.Closure |
systemExit |
|
protected String |
title |
Constructor | Description |
---|---|
CodeNarc() |
Modifier and Type | Method | Description |
---|---|---|
protected void |
checkMaxViolations(Results results,
int priority,
int max) |
|
protected SourceAnalyzer |
createSourceAnalyzer() |
|
protected void |
execute(String... args) |
|
groovy.lang.MetaClass |
getMetaClass() |
|
Object |
getProperty(String property) |
|
Object |
invokeMethod(String method,
Object arguments) |
|
static void |
main(String... args) |
|
protected void |
parseArgs(String... args) |
|
protected void |
setDefaultsIfNecessary() |
|
void |
setMetaClass(groovy.lang.MetaClass mc) |
|
void |
setProperty(String property,
Object value) |
protected static final String HELP
protected static groovy.lang.Closure systemExit
protected String ruleSetFiles
protected String baseDir
protected String includes
protected String excludes
protected String title
protected List reports
protected groovy.lang.Closure createCodeNarcRunner
protected int maxPriority1Violations
protected int maxPriority2Violations
protected int maxPriority3Violations
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 static void main(String... args)
protected void execute(String... args)
protected void setDefaultsIfNecessary()
protected void checkMaxViolations(Results results, int priority, int max)
protected SourceAnalyzer createSourceAnalyzer()
protected void parseArgs(String... args)
Copyright © 2019. All rights reserved.