public interface RuleRunner
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
runRule(Rule rule,
java.util.Map<java.lang.String,java.lang.Object> params)
Run a rule and return the result or null if there is no result.
|
java.lang.Object |
runRule(Rule rule,
java.util.Map<java.lang.String,java.lang.Object> params,
java.util.List<Rule> libraries)
Run a rule and return the result or null if there is no result.
|
java.lang.Object |
runScript(Script script,
java.util.Map<java.lang.String,java.lang.Object> params)
Run a script and return the result.
|
java.lang.Object |
runScript(Script script,
java.util.Map<java.lang.String,java.lang.Object> params,
java.util.List<Rule> libraries)
Run a script and return the result, also include any passed in libraries
into the script's runtime context.
|
java.lang.Object runRule(Rule rule, java.util.Map<java.lang.String,java.lang.Object> params) throws GeneralException
rule - The Rule to run.params - A name/value map of parameters to pass into the rule.GeneralExceptionjava.lang.Object runRule(Rule rule, java.util.Map<java.lang.String,java.lang.Object> params, java.util.List<Rule> libraries) throws GeneralException
rule - The Rule to run.params - A name/value map of parameters to pass into the rule.libraries - List of Rule libraries that should be evaluated with the ruleGeneralExceptionjava.lang.Object runScript(Script script, java.util.Map<java.lang.String,java.lang.Object> params) throws GeneralException
GeneralExceptionjava.lang.Object runScript(Script script, java.util.Map<java.lang.String,java.lang.Object> params, java.util.List<Rule> libraries) throws GeneralException
GeneralException