|
Groovy Documentation | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.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):
ruleset - to load a RuleSet file. The path specifies either a
Groovy file or an XML file.rule - to load a single Ruledescription - description of the RuleSet (optional)| 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()
| Method Detail |
|---|
RuleSet getRuleSet()
void ruleset(groovy.lang.Closure closure)
Groovy Documentation