|
Oracle Fusion Middleware Java API Reference for Oracle Real-Time Decisions 11g Release 1 (11.1.1) E17787-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RuleEvaluator
Method Summary | |
---|---|
void |
abortQueuedTasks() Use this method to clear the rule compilation queue. |
boolean |
evaluate(java.lang.Object context, RuleDefinition def, RuleCache cache, EvaluationOptions opts) Deprecated. |
boolean |
evaluateEligibilityRule(java.lang.Object context, RuleDefinition def, RuleCache cache, EvaluationOptions opts) Evaluate an external eligibility rule. |
double |
evaluateScoringRule(RuleDefinition def, RuleCache cache, EvaluationOptions opts) Evaluate an external scoring rule. |
boolean |
validateAndCache(java.lang.Object context, RuleDefinition def, RuleCache cache) Use this method to preload external rules at ILS deploy time. |
Method Detail |
---|
boolean evaluate(java.lang.Object context, RuleDefinition def, RuleCache cache, EvaluationOptions opts) throws ValidationException, EvaluationException
context
-def
-cache
-opts
-ValidationException
EvaluationException
boolean evaluateEligibilityRule(java.lang.Object context, RuleDefinition def, RuleCache cache, EvaluationOptions opts) throws ValidationException, EvaluationException
context
- A Choice object for choice eligbility rules, a choice group for choice group eligibility rules, null for filtering rules.def
- RuleDefinition to be evaluated.cache
- The RuleCache from the Application.opts
- Evaluation options.ValidationException
- if the rule fails to compile and if opts.RuntimeExceptionPolicy() == RuntimeExceptionPolicy.THROW.EvaluationException
- if the execution of the rule fails and if opts.RuntimeExceptionPolicy() == RuntimeExceptionPolicy.THROW.double evaluateScoringRule(RuleDefinition def, RuleCache cache, EvaluationOptions opts) throws ValidationException, EvaluationException
def
- RuleDefinition to be evaluated.cache
- The RuleCache from the Application.opts
- Evaluation options.ValidationException
- if the rule fails to compile and if opts.RuntimeExceptionPolicy() == RuntimeExceptionPolicy.THROW.EvaluationException
- if the execution of the rule fails and if opts.RuntimeExceptionPolicy() == RuntimeExceptionPolicy.THROW.boolean validateAndCache(java.lang.Object context, RuleDefinition def, RuleCache cache) throws ValidationException
context
- A Choice object for choice eligbility rules, a choice group for choice group eligibility rules, null for filtering rules.def
- RuleDefinition to be evaluated.cache
- The RuleCache from the Application.ValidationException
- if the rule fails to compile and if opts.RuntimeExceptionPolicy() == RuntimeExceptionPolicy.THROW.void abortQueuedTasks()
|
Oracle Fusion Middleware Java API Reference for Oracle Real-Time Decisions 11g Release 1 (11.1.1) E17787-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |