|
Groovy Documentation | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD | |||||||
java.lang.Objectorg.codenarc.CodeNarc
class CodeNarc
Command-line runner for CodeNarc.
The supported command-line parameters are all of the form: "-OPTION=VALUE", where OPTION is one of the options in the following list.| Property Summary | |
|---|---|
protected static def |
HELP
|
static def |
LOG
|
protected String |
baseDir
|
protected def |
createCodeNarcRunner
|
protected String |
excludes
|
protected String |
includes
|
protected List |
reports
|
protected String |
ruleSetFiles
|
protected String |
title
|
| Constructor Summary | |
CodeNarc()
|
|
| Method Summary | |
|---|---|
protected SourceAnalyzer
|
createSourceAnalyzer()
Create and return the SourceAnalyzer |
protected void
|
execute(String[] args)
|
static void
|
main(String[] args)
Main command-line entry-point. |
protected void
|
parseArgs(String[] args)
|
protected void
|
setDefaultsIfNecessary()
|
| Methods inherited from class Object | |
|---|---|
| wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
| Property Detail |
|---|
protected static final def HELP
static final def LOG
protected String baseDir
protected def createCodeNarcRunner
protected String excludes
protected String includes
protected List reports
protected String ruleSetFiles
protected String title
| Constructor Detail |
|---|
CodeNarc()
| Method Detail |
|---|
protected SourceAnalyzer createSourceAnalyzer()
protected void execute(String[] args)
public static void main(String[] args)
protected void parseArgs(String[] args)
protected void setDefaultsIfNecessary()
Groovy Documentation