|
ILOG JRules | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.rules.engine.IlrToolAdapter
public class IlrToolAdapter
The IlrToolAdapter class.
This class is an adapter for the IlrTool interface.
IlrTool
| Constructor Summary | |
|---|---|
IlrToolAdapter()
|
|
| Method Summary | |
|---|---|
void |
notifyActivateRule(IlrRule rule)
Provides notification that an IlrRule has been activated in the context. |
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)
Provides notification that an IlrRule has been deactivated
in the context. |
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)
Provides notification that an Initial Action has been set for the ruleset. |
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IlrToolAdapter()
| Method Detail |
|---|
public void notifyConnect()
Provides notification that a connection has occurred.
notifyConnect in interface IlrToolpublic void notifyDisconnect()
Provides notification that a disconnection has occurred.
notifyDisconnect in interface IlrToolpublic void notifyAddRule(IlrRule rule)
Provides notification that an IlrRule has been added in the ruleset.
notifyAddRule in interface IlrToolrule - The rule.public void notifyRemoveRule(IlrRule rule)
Provides notification that an IlrRule has been removed from the ruleset.
notifyRemoveRule in interface IlrToolrule - The rule.public void notifySetInitialRule(Vector initialStatements)
Provides notification that an Initial Action has been set for the ruleset.
notifySetInitialRule in interface IlrToolinitialStatements - The vector containing all IlrStatements.public void notifyDefineFunction(IlrFunction function)
Provides notification that an IlrFunction has been defined in
the ruleset.
notifyDefineFunction in interface IlrToolfunction - The function.public void notifyActivateRule(IlrRule rule)
Provides notification that an IlrRule has been activated in the context.
notifyActivateRule in interface IlrToolrule - The rule.public void notifyDeactivateRule(IlrRule rule)
Provides notification that an IlrRule has been deactivated
in the context.
notifyDeactivateRule in interface IlrToolrule - The rule.public void notifyAssertObject(Object object)
Provides notification that an object has been asserted in working memory.
notifyAssertObject in interface IlrToolobject - The object.public void notifyAssertLogical(Object object)
Provides notification that a logical object has been asserted in working memory.
notifyAssertLogical in interface IlrToolobject - The object.public void notifyRetractObject(Object object)
Provides notification that an object has been retracted from working memory.
notifyRetractObject in interface IlrToolobject - The object.public void notifyUpdateObject(Object object)
Provides notification that an object has been updated in working memory.
notifyUpdateObject in interface IlrToolobject - The object.public void notifyRetractAll()
Provides notification that all objects have been retracted from working memory.
notifyRetractAll in interface IlrToolpublic void notifyReset()
Provides notification that the context has been reset.
notifyReset in interface IlrTool
public void notifyAddInstance(IlrRuleInstance instance,
IlrRuleInstance previous)
Provides notification that a rule instance has been inserted into the agenda.
notifyAddInstance in interface IlrToolinstance - The rule instance.previous - The rule instance preceding the current
instance, or null if the instance is the first one.public void notifyRemoveInstance(IlrRuleInstance instance)
Provides notification that a rule instance has been removed from the agenda without having been fired.
notifyRemoveInstance in interface IlrToolinstance - The removed rule instance.public void notifyRemoveAllInstances()
Provides notification that all rule instances have been removed from the agenda without having been fired.
notifyRemoveAllInstances in interface IlrToolpublic 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.
notifyBeginInstance in interface IlrToolinstance - The rule instance.public void notifyEndInstance(IlrRuleInstance instance)
Provides notification that a rule instance has finished executing the action part.
notifyEndInstance in interface IlrToolinstance - The rule instance.
public void notifyBeginSequentialInstance(IlrRule rule,
Object[] tuple,
int priority)
notifyBeginSequentialInstance in interface IlrTool
public void notifyEndSequentialInstance(IlrRule rule,
Object[] tuple,
int priority)
notifyEndSequentialInstance in interface IlrToolpublic void notifyBeginTask(IlrTask task)
Provides notification that a task is about to be executed.
notifyBeginTask in interface IlrTooltask - The task.public void notifyEndTask(IlrTask task)
Provides notification that a task is about to finish its execution.
notifyEndTask in interface IlrTooltask - The task.public 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.
notifyStartRuleFlow in interface IlrTooltask - The task that models the flow.public 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.
notifyEndRuleFlow in interface IlrTooltask - The task that models the flow.
|
ILOG JRules | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||