org.codenarc.ruleregistry
[Groovy] Class PropertiesFileRuleRegistry
java.lang.Object
org.codenarc.ruleregistry.PropertiesFileRuleRegistry
- All Implemented Interfaces:
- RuleRegistry
class PropertiesFileRuleRegistry
Implementation of RuleRegistry that loads the rules from the 'codenarc-base-rules.properties' properties file.
- Authors:
- Chris Mair
- Version:
- \$Revision: 635 \$ - \$Date: 2011-03-05 14:33:52 -0500 (Sat, 05 Mar 2011) \$
- See Also:
- GenerateCodeNarcRulesProperties
PROPERTIES_FILE
public static final def PROPERTIES_FILE
-
PropertiesFileRuleRegistry
PropertiesFileRuleRegistry()
-
getRuleClass
Class getRuleClass(String ruleName)
- Return the Rule Class for the specified name or else null
- Parameters:
ruleName
- - the rule name
- Returns:
- the associated Rule Class or null if no Rule has been registered for the specified name
Groovy Documentation