|
Groovy Documentation | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD | |||||||
java.lang.Objectorg.codenarc.CodeNarc
@SuppressWarnings(['Println', 'PrintStackTrace']) 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.| Field Summary | |
|---|---|
protected static def |
HELP
|
protected String |
baseDir
|
protected def |
createCodeNarcRunner
|
protected String |
excludes
|
protected String |
includes
|
protected List |
reports
|
protected String |
ruleSetFiles
|
protected String |
title
|
| Property Summary | |
|---|---|
static def |
LOG
|
| 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 |
| Field Detail |
|---|
protected static final def HELP
protected String baseDir
protected def createCodeNarcRunner
protected String excludes
protected String includes
protected List reports
protected String ruleSetFiles
protected String title
| Property Detail |
|---|
static final def LOG
| Method Detail |
|---|
protected SourceAnalyzer createSourceAnalyzer()
protected void execute(String[] args)
static void main(String[] args)
args - - the String[] of command-line arguments
protected void parseArgs(String[] args)
protected void setDefaultsIfNecessary()
Groovy Documentation