Skip Headers
Oracle® Business Rules Language Reference
10
g
(10.1.3.1.0)
Part Number B28964-01
Home
Book List
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
Integrating RL Language Programs with Java Programs
1.5.1
Using Java Beans Asserted as Facts
1.5.2
Using RuleSession Objects in Java Applications
1.6
Building a Coin Counter Rules Program
2
Rule Language Reference
Ruleset
Types
Identifiers
Literals
Definitions
Variable Definitions
Rule Definitions
Class Definitions
Function Definitions
Fact Class Declarations
Import Statement
Include Statement
Using Expressions
Boolean Expressions
Numeric Expressions
String Expressions
Array Expressions
Fact Set Expressions
Object Expressions
Primary expressions
Actions and Action Blocks
If Else Action Block
While Action Block
For Action Block
Try Catch Finally Action Block
Synchronized Action Block
Return Action
Throw Action
Assign Action
Increment or Decrement Expressions
Primary Actions
Built-in Functions
assert
assertXPath
clearRule
clearRulesetStack
clearWatchRules, clearWatchActivations, clearWatchFacts, clearWatchFocus, clearWatchCompilations, clearWatchAll
getRulesetStack
getRuleSession
getStrategy
halt
id
object
println
popRuleset
pushRuleset
retract
reset
run
runUntilHalt
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
RL Exceptions
4.5
Error Handling
4.6
RL Class Reflection
4.7
XML Navigation
4.8
Obtaining Results from a Rule Enabled Program
4.8.1
Overview of Results Examples
4.8.2
Using External Resources to Obtain Results
A
Summary of Java and RL Differences
A.1
RL Differences from Java
B
Oracle Business Rules DMS Instrumentation
B.1
Enabling Oracle Business Rules DMS Instrumentation
B.2
Oracle Business Rules Metrics
B.2.1
Oracle Business Rules Rule Metrics
B.2.2
Oracle Business Rules Ruleset Metrics
B.2.3
Oracle Business Rules Working Memory Metrics
B.2.4
Oracle Business Rules RuleSession Metrics
Index