Skip Headers
Oracle® Fusion Middleware Language Reference Guide for Oracle Business Rules
11
g
Release 1 (11.1.1.5.0)
Part Number E10227-04
Home
Book List
Index
Master Index
Contact Us
Next
View PDF
Contents
Title and Copyright Information
Preface
Audience
Documentation Accessibility
Related Documents
Conventions
1
Rules Programming Concepts
1.1
Starting the Oracle Business Rules RL Language Command-Line
1.2
Introducing Rules and Rulesets
1.2.1
Rule Conditions
1.2.2
Rule Actions
1.3
Introducing Facts and RL Language Classes
1.3.1
What Are Facts?
1.3.2
Adding Facts to Working Memory with Assert
1.3.3
Using RL Language Classes as Facts
1.3.4
Using Java Classes as Facts
1.4
Understanding and Controlling Rule Firing
1.4.1
Rule Activation and the Agenda
1.4.2
Watching Facts, Rules, and Rule Activations
1.4.2.1
Watching and Showing Facts in Working Memory
1.4.2.2
Watching Activations and Rule Firing
1.4.3
Ordering Rule Firing
1.5
Using Effective Dates
1.6
Integrating RL Language Programs with Java Programs
1.6.1
Using Java Beans Asserted as Facts
1.6.2
Using RuleSession Objects in Java Applications
1.7
Using Decision Tracing
1.7.1
Introduction to Rule Engine Level Decision Tracing
1.7.2
Using Rule Engine Level Decision Tracing
1.7.3
Decision Trace Samples for Production and Development Level Tracing
1.8
Building a Coin Counter Rules Program
2
Rule Language Reference
Ruleset
Types
Identifiers
Literals
Definitions
Variable Definitions
Global Variables
Rule Definitions
Class Definitions
xpath Support
Function Definitions
Fact Class Declarations
Import Statement
Include Statement
Using Expressions
Boolean Expressions
Numeric Expressions
String Expressions
Array Expressions
Fact Set Expressions
Comparable Expression
Object Expressions
Primary Expressions
new
Actions and Action Blocks
If Else Action Block
While Action Block
For Action Block
Try Catch Finally Action Block
Synchronized Action Block
Modify Action
Return Action
Throw Action
Assign Action
Increment or Decrement Expressions
Primary Actions
Rulegroup
Built-in Functions
assert
assertTree
assertXPath
clearRule
clearRulesetStack
clearWatchRules, clearWatchActivations, clearWatchFacts, clearWatchFocus, clearWatchCompilations, clearWatchAll
contains
getCurrentDate
getDecisionTrace
getDecisionTraceLevel
getDecisionTraceLimit
getEffectiveDate
getFactsByType
getRulesetStack
getRuleSession
getStrategy
halt
id
object
println
popRuleset
pushRuleset
retract
reset
run
runUntilHalt
setCurrentDate
setDecisionTraceLevel
setDecisionTraceLimit
setEffectiveDate
setRulesetStack
setStrategy
showActivations
showFacts
step
watchRules, watchActivations, watchFacts, watchFocus, watchCompilations
3
Using the Command-line Interface
3.1
Starting and Using the Command-Line Interface
3.2
RL Command-Line Options
3.3
RL Command-Line Built-in Commands
3.3.1
Clear Command
3.3.2
Exit Command
4
Using a RuleSession
4.1
RuleSession Constructor Properties
4.2
RuleSession Methods
4.3
RL to Java Type Conversion
4.4
Error Handling
4.5
RL Class Reflection
4.6
XML Navigation
4.7
Obtaining Results from a Rule Enabled Program
4.7.1
Overview of Results Examples
4.7.2
Using External Resources to Obtain Results
4.8
Debugging an RL Stacktrace
4.9
Using RuleSession Pooling
4.9.1
How to Create a RuleSession Pool
4.9.2
How to Use a RuleSession Pool
4.10
Using RuleSession Options
4.10.1
Using the CFG_LOGGING System Property
4.10.2
Using the CFG_DECISION_TRACE_LEVEL Option
4.10.3
Using the CFG_DECISION_TRACE_LIMIT Option
A
Summary of Java and RL Differences
A.1
RL Differences from Java
Index
Scripting on this page enhances content navigation, but does not change the content in any way.