Groovy Documentation

org.codenarc.tool
[Groovy] Class GenerateRuleSetAllRules

java.lang.Object
  org.codenarc.tool.GenerateRuleSetAllRules

class GenerateRuleSetAllRules

Java application (main() method) that generates the "StarterRuleSet-AllRules.groovy.txt.template" file. This file is a valid CodeNarc ruleset file that includes ALL rules distributed with CodeNarc.

Authors:
Chris Mair
Version:
\$Revision: 635 \$ - \$Date: 2011-03-05 14:33:52 -0500 (Sat, 05 Mar 2011) \$


Field Summary
protected static def RULESET_FILE

protected static def ruleSetFile

 
Method Summary
static void main(String[] args)

Write out all current rules to the 'codenarc-base-rules.properties' properties file

 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Field Detail

RULESET_FILE

protected static final def RULESET_FILE


ruleSetFile

protected static def ruleSetFile


 
Method Detail

main

static void main(String[] args)
Write out all current rules to the 'codenarc-base-rules.properties' properties file
Parameters:
args - - command-line args (not used)


 

Groovy Documentation