public class RuleSetUtil extends Object implements groovy.lang.GroovyObject
| Modifier and Type | Field and Description |
|---|---|
protected static String |
CLASS_LOADER_SYS_PROP |
| Constructor and Description |
|---|
RuleSetUtil() |
| Modifier and Type | Method and Description |
|---|---|
protected static void |
assertClassImplementsRuleInterface(Class ruleClass) |
groovy.lang.MetaClass |
getMetaClass() |
Object |
getProperty(String property) |
Object |
invokeMethod(String method,
Object arguments) |
protected static Rule |
loadRuleScriptFile(String path) |
static RuleSet |
loadRuleSetFile(String path) |
void |
setMetaClass(groovy.lang.MetaClass mc) |
void |
setProperty(String property,
Object value) |
protected static final String CLASS_LOADER_SYS_PROP
public groovy.lang.MetaClass getMetaClass()
getMetaClass in interface groovy.lang.GroovyObjectpublic void setMetaClass(groovy.lang.MetaClass mc)
setMetaClass in interface groovy.lang.GroovyObjectpublic Object invokeMethod(String method, Object arguments)
invokeMethod in interface groovy.lang.GroovyObjectpublic Object getProperty(String property)
getProperty in interface groovy.lang.GroovyObjectpublic void setProperty(String property, Object value)
setProperty in interface groovy.lang.GroovyObjectprotected static void assertClassImplementsRuleInterface(Class ruleClass)
Copyright © 2021. All rights reserved.