Package org.codenarc.ruleregistry
Class PropertiesFileRuleRegistry
- java.lang.Object
-
- org.codenarc.ruleregistry.PropertiesFileRuleRegistry
-
- All Implemented Interfaces:
groovy.lang.GroovyObject
,RuleRegistry
public class PropertiesFileRuleRegistry extends Object implements RuleRegistry, groovy.lang.GroovyObject
-
-
Field Summary
Fields Modifier and Type Field Description static String
PROPERTIES_FILE
-
Constructor Summary
Constructors Constructor Description PropertiesFileRuleRegistry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description groovy.lang.MetaClass
getMetaClass()
Object
getProperty(String property)
Class
getRuleClass(String ruleName)
Object
invokeMethod(String method, Object arguments)
void
setMetaClass(groovy.lang.MetaClass mc)
void
setProperty(String property, Object value)
-
-
-
Field Detail
-
PROPERTIES_FILE
public static final String PROPERTIES_FILE
-
-
Method Detail
-
getMetaClass
public groovy.lang.MetaClass getMetaClass()
- Specified by:
getMetaClass
in interfacegroovy.lang.GroovyObject
-
setMetaClass
public void setMetaClass(groovy.lang.MetaClass mc)
- Specified by:
setMetaClass
in interfacegroovy.lang.GroovyObject
-
invokeMethod
public Object invokeMethod(String method, Object arguments)
- Specified by:
invokeMethod
in interfacegroovy.lang.GroovyObject
-
getProperty
public Object getProperty(String property)
- Specified by:
getProperty
in interfacegroovy.lang.GroovyObject
-
setProperty
public void setProperty(String property, Object value)
- Specified by:
setProperty
in interfacegroovy.lang.GroovyObject
-
getRuleClass
public Class getRuleClass(String ruleName)
- Specified by:
getRuleClass
in interfaceRuleRegistry
-
-