Groovy Documentation

groovy.org.codenarc.tool
[Groovy] Class GenerateRuleSetAllRules

java.lang.Object
  groovy.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


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