|
ABLE 2.3.0 07/13/2005 14:21:00 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectcom.ibm.able.rules.AbleDebugLib
This class provides a set of user-defined functions for adding debugging capability to the Able Swing-based RuleSet editor.
| Field Summary | |
|---|---|
protected AbleRuleSetDebugConsole |
myConsole
A copy of the debug console from the ruleset being debugged. |
| Constructor Summary | |
|---|---|
AbleDebugLib()
GUI-based User-Defined Function Library for debugging AbleRuleSet objects. |
|
| Method Summary | |
|---|---|
void |
engineBreakpoint(AbleRuleSet theRuleSet)
This function is called by the inference engine when a break point is reached. |
void |
startDebugConsole(AbleRuleSet theRuleSet)
Open the debug console dialog. |
void |
stopDebugConsole(AbleRuleSet theRuleSet)
Close the debug console dialog. |
void |
userBreakpoint(AbleRuleSet theRuleSet)
This function is called by the inference engine when a rule is reached containing a userBreakpoint(this) statement in it. |
void |
userBreakpoint(AbleRuleSet theRuleSet,
java.lang.String theMsg)
This function is called by the inference engine when a rule is reached containing a userBreakpoint(this, msg) statement in it. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected transient AbleRuleSetDebugConsole myConsole
| Constructor Detail |
public AbleDebugLib()
| Method Detail |
public void startDebugConsole(AbleRuleSet theRuleSet)
theRuleSet - A ruleset to be debugged.
public void stopDebugConsole(AbleRuleSet theRuleSet)
theRuleSet - A ruleset under debug.
public void engineBreakpoint(AbleRuleSet theRuleSet)
theRuleSet - A ruleset under debug.
public void userBreakpoint(AbleRuleSet theRuleSet)
It passes control to the Debug Console and returns to the engine when the user is ready to continue ...
theRuleSet - A ruleset under debug.
public void userBreakpoint(AbleRuleSet theRuleSet,
java.lang.String theMsg)
It passes control to the Debug Console and returns to the engine when the user is ready to continue ...
theRuleSet - A ruleset under debug.
theMsg - A message to print in the debug console.
|
ABLE 2.3.0 07/13/2005 14:21:00 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||