Groovy Documentation

org.codenarc.ruleset
Class ListRuleSet

java.lang.Object
  org.codenarc.ruleset.ListRuleSet

class ListRuleSet

A RuleSet implementation that returns a static List of Rules passed into its constructor.

author:
Chris Mair
version:
$Revision: 7 $ - $Date: 2009-01-21 21:52:00 -0500 (Wed, 21 Jan 2009) $


Constructor Summary
ListRuleSet(List rules)

Construct a new instance from the specified List of rules.

 
Method Summary
List getRules()

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

Constructor Detail

ListRuleSet

public ListRuleSet(List rules)
Construct a new instance from the specified List of rules.
param:
rules - the List of List of Rule objects; must not be null, but may be empty.


 
Method Detail

getRules

List getRules()
return:
a List of Rule objects


 

Groovy Documentation