Groovy Documentation

groovy.org.codenarc.ruleset
[Groovy] Class RuleSetBuilder

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

Authors:
Chris Mair


Method Summary
RuleSet getRuleSet()

void ruleset(groovy.lang.Closure closure)

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

Method Detail

getRuleSet

RuleSet getRuleSet()


ruleset

void ruleset(groovy.lang.Closure closure)


 

Groovy Documentation