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