ABLE 2.3.0 07/13/2005 14:21:00

com.ibm.able.examples.rules
Class AbleRuleSetFromAPI

java.lang.Object
  extended bycom.ibm.able.examples.rules.AbleRuleSetFromAPI

public class AbleRuleSetFromAPI
extends java.lang.Object

Construct a ruleset using the APIs. The basic steps are:

  1. create instance of AbleRuleSetBean
  2. set name
  3. set comment (optional)
  4. declare any imports
  5. declare any libraries
  6. declare any predicates
  7. declare any global variables
  8. declare any functions
  9. set the input vars (if any)
  10. set the output vars (if any)
  11. create a ruleblock
  12. create and add rules to ruleblock
It is highly recommended to use the various parseFrom... APIs to construct rulesets, ruleblocks, and rules rather than constructing the objects directly as it is easier.


Constructor Summary
AbleRuleSetFromAPI()
           
 
Method Summary
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbleRuleSetFromAPI

public AbleRuleSetFromAPI()
Method Detail

main

public static void main(java.lang.String[] args)

ABLE 2.3.0 07/13/2005 14:21:00

(C) Copyright IBM Corporation 1999, 2005