Groovy Documentation

org.codenarc.ruleset
Class RuleSetBuilder

java.lang.Object
  org.codenarc.ruleset.RuleSetBuilder

class RuleSetBuilder

A Builder for RuleSets. Create a RuleSet by calling the ruleset method, passing in a Closure defining the contents of the RuleSet. The Closure can contain any combination of the following (as well as arbitrary Groovy code):

author:
Chris Mair
version:
$Revision: 212 $ - $Date: 2009-08-25 21:20:16 -0400 (Tue, 25 Aug 2009) $


Constructor Summary
RuleSetBuilder()

 
Method Summary
RuleSet getRuleSet()

void ruleset(groovy.lang.Closure closure)

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

Constructor Detail

RuleSetBuilder

RuleSetBuilder()


 
Method Detail

getRuleSet

RuleSet getRuleSet()


ruleset

void ruleset(groovy.lang.Closure closure)


 

Groovy Documentation