org.codenarc
Class CodeNarc

java.lang.Object
  extended by org.codenarc.CodeNarc
All Implemented Interfaces:
groovy.lang.GroovyObject

public class CodeNarc
extends Object
implements groovy.lang.GroovyObject


Field Summary
protected  String baseDir
           
protected  Object createCodeNarcRunner
           
protected  String excludes
           
protected static Object HELP
           
protected  String includes
           
protected  List reports
           
protected  String ruleSetFiles
           
protected  String title
           
 
Constructor Summary
CodeNarc()
           
 
Method Summary
protected  SourceAnalyzer createSourceAnalyzer()
           
protected  void execute(String[] args)
           
static Object getLOG()
           
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HELP

protected static Object HELP

ruleSetFiles

protected String ruleSetFiles

baseDir

protected String baseDir

includes

protected String includes

excludes

protected String excludes

title

protected String title

reports

protected List reports

createCodeNarcRunner

protected Object createCodeNarcRunner
Constructor Detail

CodeNarc

public CodeNarc()
Method Detail

getMetaClass

public groovy.lang.MetaClass getMetaClass()
Specified by:
getMetaClass in interface groovy.lang.GroovyObject

setMetaClass

public void setMetaClass(groovy.lang.MetaClass mc)
Specified by:
setMetaClass in interface groovy.lang.GroovyObject

invokeMethod

public Object invokeMethod(String method,
                           Object arguments)
Specified by:
invokeMethod in interface groovy.lang.GroovyObject

getProperty

public Object getProperty(String property)
Specified by:
getProperty in interface groovy.lang.GroovyObject

setProperty

public void setProperty(String property,
                        Object value)
Specified by:
setProperty in interface groovy.lang.GroovyObject

getLOG

public static Object getLOG()

main

public static void main(String[] args)

execute

protected void execute(String[] args)

setDefaultsIfNecessary

protected void setDefaultsIfNecessary()

createSourceAnalyzer

protected SourceAnalyzer createSourceAnalyzer()

parseArgs

protected void parseArgs(String[] args)


Copyright © 2013. All Rights Reserved.