org.codenarc
Class CodeNarc

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

public class CodeNarc
extends java.lang.Object
implements groovy.lang.GroovyObject


Field Summary
protected  java.lang.String baseDir
           
protected  java.lang.Object createCodeNarcRunner
           
protected  java.lang.String excludes
           
protected static java.lang.Object HELP
           
protected  java.lang.String includes
           
protected  java.util.List reports
           
protected  java.lang.String ruleSetFiles
           
protected  java.lang.String title
           
 
Constructor Summary
CodeNarc()
           
 
Method Summary
protected  SourceAnalyzer createSourceAnalyzer()
           
protected  void execute(java.lang.String[] args)
           
static java.lang.Object getLOG()
           
 groovy.lang.MetaClass getMetaClass()
           
 java.lang.Object getProperty(java.lang.String property)
           
 java.lang.Object invokeMethod(java.lang.String method, java.lang.Object arguments)
           
static void main(java.lang.String[] args)
           
protected  void parseArgs(java.lang.String[] args)
           
protected  void setDefaultsIfNecessary()
           
 void setMetaClass(groovy.lang.MetaClass mc)
           
 void setProperty(java.lang.String property, java.lang.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 java.lang.Object HELP

ruleSetFiles

protected java.lang.String ruleSetFiles

baseDir

protected java.lang.String baseDir

includes

protected java.lang.String includes

excludes

protected java.lang.String excludes

title

protected java.lang.String title

reports

protected java.util.List reports

createCodeNarcRunner

protected java.lang.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 java.lang.Object invokeMethod(java.lang.String method,
                                     java.lang.Object arguments)
Specified by:
invokeMethod in interface groovy.lang.GroovyObject

getProperty

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

setProperty

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

getLOG

public static java.lang.Object getLOG()

main

public static void main(java.lang.String[] args)

execute

protected void execute(java.lang.String[] args)

setDefaultsIfNecessary

protected void setDefaultsIfNecessary()

createSourceAnalyzer

protected SourceAnalyzer createSourceAnalyzer()

parseArgs

protected void parseArgs(java.lang.String[] args)


Copyright © 2011. All Rights Reserved.