Class CodeNarc
java.lang.Object
org.codenarc.CodeNarc
- All Implemented Interfaces:
groovy.lang.GroovyObject
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcheckMaxViolations(Results results, int priority, int max) protected SourceAnalyzerprotected voidgroovy.lang.MetaClassgetProperty(String property) invokeMethod(String method, Object arguments) static voidprotected voidprotected voidvoidsetMetaClass(groovy.lang.MetaClass mc) voidsetProperty(String property, Object value)
-
Field Details
-
HELP
- See Also:
-
systemExit
protected static groovy.lang.Closure systemExit -
ruleSetFiles
-
baseDir
-
includes
-
excludes
-
title
-
reports
-
createCodeNarcRunner
protected groovy.lang.Closure createCodeNarcRunner -
maxPriority1Violations
protected int maxPriority1Violations -
maxPriority2Violations
protected int maxPriority2Violations -
maxPriority3Violations
protected int maxPriority3Violations
-
-
Constructor Details
-
CodeNarc
public CodeNarc()
-
-
Method Details
-
getMetaClass
public groovy.lang.MetaClass getMetaClass()- Specified by:
getMetaClassin interfacegroovy.lang.GroovyObject
-
setMetaClass
public void setMetaClass(groovy.lang.MetaClass mc) - Specified by:
setMetaClassin interfacegroovy.lang.GroovyObject
-
invokeMethod
-
getProperty
-
setProperty
-
main
-
execute
-
setDefaultsIfNecessary
protected void setDefaultsIfNecessary() -
checkMaxViolations
-
createSourceAnalyzer
-
parseArgs
-