|
ILOG JRules | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IlrTool
The IlrTool interface.
Once connected to an IlrContext, these
methods are called to provide notifications of
IlrContext changes.
IlrLocalTracerToolFactory,
ilog.rules.debug.IlrBuilderToolFactory
| Method Summary | |
|---|---|
void |
notifyActivateRule(IlrRule rule)
Deprecated. |
void |
notifyAddInstance(IlrRuleInstance instance,
IlrRuleInstance previous)
Provides notification that a rule instance has been inserted into the agenda. |
void |
notifyAddRule(IlrRule rule)
Provides notification that an IlrRule has
been added in the ruleset. |
void |
notifyAssertLogical(Object object)
Provides notification that a logical object has been asserted in working memory. |
void |
notifyAssertObject(Object object)
Provides notification that an object has been asserted in working memory. |
void |
notifyBeginInstance(IlrRuleInstance instance)
Provides notification that a rule instance has been selected to fire and that the first action is about to be executed. |
void |
notifyBeginSequentialInstance(IlrRule rule,
Object[] tuple,
int priority)
Provides notification that a sequential instance has been added and selected to fire and that the first action is about to be executed. |
void |
notifyBeginTask(IlrTask task)
Provides notification that a task is about to be executed. |
void |
notifyConnect()
Provides notification that a connection has occurred. |
void |
notifyDeactivateRule(IlrRule rule)
Deprecated. |
void |
notifyDefineFunction(IlrFunction function)
Provides notification that an IlrFunction has been defined in
the ruleset. |
void |
notifyDisconnect()
Provides notification that a disconnection has occurred. |
void |
notifyEndInstance(IlrRuleInstance instance)
Provides notification that a rule instance has finished executing the action part. |
void |
notifyEndRuleFlow(IlrTask task)
Provides notification that a flow is about to finish its execution. |
void |
notifyEndSequentialInstance(IlrRule rule,
Object[] tuple,
int priority)
Provides notification that a rule instance has finished executing the action part. |
void |
notifyEndTask(IlrTask task)
Provides notification that a task is about to finish its execution. |
void |
notifyRemoveAllInstances()
Provides notification that all rule instances have been removed from the agenda without having been fired. |
void |
notifyRemoveInstance(IlrRuleInstance instance)
Provides notification that a rule instance has been removed from the agenda without having been fired. |
void |
notifyRemoveRule(IlrRule rule)
Provides notification that an IlrRule has
been removed from the ruleset. |
void |
notifyReset()
Provides notification that the context has been reset. |
void |
notifyRetractAll()
Provides notification that all objects have been retracted from working memory. |
void |
notifyRetractObject(Object object)
Provides notification that an object has been retracted from working memory. |
void |
notifySetInitialRule(Vector initialStatements)
Deprecated. |
void |
notifyStartRuleFlow(IlrTask task)
Provides notification that a flow is about to be executed. |
void |
notifyUpdateObject(Object object)
Provides notification that an object has been updated in working memory. |
| Method Detail |
|---|
void notifyConnect()
Provides notification that a connection has occurred.
void notifyDisconnect()
Provides notification that a disconnection has occurred.
void notifyAddRule(IlrRule rule)
Provides notification that an IlrRule has
been added in the ruleset.
rule - The rule.void notifyRemoveRule(IlrRule rule)
Provides notification that an IlrRule has
been removed from the ruleset.
rule - The rule.void notifySetInitialRule(Vector initialStatements)
Provides notification that an Initial Action has been set for the ruleset.
initialStatements - The vector containing all IlrStatements.void notifyDefineFunction(IlrFunction function)
Provides notification that an IlrFunction has been defined in
the ruleset.
function - The function.void notifyActivateRule(IlrRule rule)
Provides notification that an IlrRule has
been activated in the context.
rule - The rule.void notifyDeactivateRule(IlrRule rule)
Provides notification that an IlrRule has been deactivated
in the context.
rule - The rule.void notifyAssertObject(Object object)
Provides notification that an object has been asserted in working memory.
object - The object.void notifyAssertLogical(Object object)
Provides notification that a logical object has been asserted in working memory.
object - The object.void notifyRetractObject(Object object)
Provides notification that an object has been retracted from working memory.
object - The object.void notifyUpdateObject(Object object)
Provides notification that an object has been updated in working memory.
object - The object.void notifyRetractAll()
Provides notification that all objects have been retracted from working memory.
void notifyReset()
Provides notification that the context has been reset.
void notifyAddInstance(IlrRuleInstance instance,
IlrRuleInstance previous)
Provides notification that a rule instance has been inserted into the agenda.
instance - The rule instance.previous - The rule instance preceding the current
instance, or null
void notifyRemoveInstance(IlrRuleInstance instance)
Provides notification that a rule instance has been removed from the agenda without having been fired.
instance - The removed rule instance.void notifyRemoveAllInstances()
Provides notification that all rule instances have been removed from the agenda without having been fired.
void notifyBeginInstance(IlrRuleInstance instance)
Provides notification that a rule instance has been selected to fire and that the first action is about to be executed.
instance - The rule instance.void notifyEndInstance(IlrRuleInstance instance)
Provides notification that a rule instance has finished executing the action part.
instance - The rule instance.
void notifyBeginSequentialInstance(IlrRule rule,
Object[] tuple,
int priority)
void notifyEndSequentialInstance(IlrRule rule,
Object[] tuple,
int priority)
void notifyBeginTask(IlrTask task)
Provides notification that a task is about to be executed.
task - The task.void notifyEndTask(IlrTask task)
Provides notification that a task is about to finish its execution.
task - The task.void notifyStartRuleFlow(IlrTask task)
Provides notification that a flow is about to be executed. A flow can be either the execution of a flow task, which invokes the execution of other tasks, or a single rule task or function task.
task - The task that models the flow.void notifyEndRuleFlow(IlrTask task)
Provides notification that a flow is about to finish its execution. A flow can be either the execution of a flow task, which invokes the execution of other tasks, or a single rule task or function task.
task - The task that models the flow.
|
ILOG JRules | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||