Class RuleSetUtil
java.lang.Object
org.codenarc.ruleset.RuleSetUtil
- All Implemented Interfaces:
groovy.lang.GroovyObject
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static voidassertClassImplementsRuleInterface(Class ruleClass) groovy.lang.MetaClassgetProperty(String property) invokeMethod(String method, Object arguments) protected static RuleloadRuleScriptFile(String path) static RuleSetloadRuleSetFile(String path) voidsetMetaClass(groovy.lang.MetaClass mc) voidsetProperty(String property, Object value)
-
Field Details
-
CLASS_LOADER_SYS_PROP
- See Also:
-
-
Constructor Details
-
RuleSetUtil
public RuleSetUtil()
-
-
Method Details
-
getMetaClass
public groovy.lang.MetaClass getMetaClass()- Specified by:
getMetaClassin interfacegroovy.lang.GroovyObject
-
setMetaClass
public void setMetaClass(groovy.lang.MetaClass mc) - Specified by:
setMetaClassin interfacegroovy.lang.GroovyObject
-
invokeMethod
-
getProperty
-
setProperty
-
assertClassImplementsRuleInterface
-
loadRuleSetFile
-
loadRuleScriptFile
-