Package org.codenarc
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 void
checkMaxViolations
(Results results, int priority, int max) protected SourceAnalyzer
protected void
groovy.lang.MetaClass
getProperty
(String property) invokeMethod
(String method, Object arguments) static void
protected void
protected void
void
setMetaClass
(groovy.lang.MetaClass mc) void
setProperty
(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:
getMetaClass
in interfacegroovy.lang.GroovyObject
-
setMetaClass
public void setMetaClass(groovy.lang.MetaClass mc) - Specified by:
setMetaClass
in interfacegroovy.lang.GroovyObject
-
invokeMethod
- Specified by:
invokeMethod
in interfacegroovy.lang.GroovyObject
-
getProperty
- Specified by:
getProperty
in interfacegroovy.lang.GroovyObject
-
setProperty
- Specified by:
setProperty
in interfacegroovy.lang.GroovyObject
-
main
-
execute
-
setDefaultsIfNecessary
protected void setDefaultsIfNecessary() -
checkMaxViolations
-
createSourceAnalyzer
-
parseArgs
-