|
Rule Execution Server API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ilog.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 IlrTool
public void notifyDisconnect()
Provides notification that a disconnection has occurred.
notifyDisconnect
in interface IlrTool
public void notifyAddRule(IlrRule rule)
Provides notification that an IlrRule
has been added in the ruleset.
notifyAddRule
in interface IlrTool
rule
- The rule.public void notifyRemoveRule(IlrRule rule)
Provides notification that an IlrRule
has been removed from the ruleset.
notifyRemoveRule
in interface IlrTool
rule
- The rule.public void notifySetInitialRule(Vector initialStatements)
Provides notification that an Initial Action has been set for the ruleset.
notifySetInitialRule
in interface IlrTool
initialStatements
- The vector containing all IlrStatement
s.public void notifyDefineFunction(IlrFunction function)
Provides notification that an IlrFunction
has been defined in
the ruleset.
notifyDefineFunction
in interface IlrTool
function
- The function.public void notifyActivateRule(IlrRule rule)
Provides notification that an IlrRule
has been activated in the context.
notifyActivateRule
in interface IlrTool
rule
- The rule.public void notifyDeactivateRule(IlrRule rule)
Provides notification that an IlrRule
has been deactivated
in the context.
notifyDeactivateRule
in interface IlrTool
rule
- The rule.public void notifyAssertObject(Object object)
Provides notification that an object has been asserted in working memory.
notifyAssertObject
in interface IlrTool
object
- The object.public void notifyAssertLogical(Object object)
Provides notification that a logical object has been asserted in working memory.
notifyAssertLogical
in interface IlrTool
object
- The object.public void notifyRetractObject(Object object)
Provides notification that an object has been retracted from working memory.
notifyRetractObject
in interface IlrTool
object
- The object.public void notifyUpdateObject(Object object)
Provides notification that an object has been updated in working memory.
notifyUpdateObject
in interface IlrTool
object
- The object.public void notifyRetractAll()
Provides notification that all objects have been retracted from working memory.
notifyRetractAll
in interface IlrTool
public 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 IlrTool
instance
- 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 IlrTool
instance
- 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 IlrTool
public 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 IlrTool
instance
- The rule instance.public void notifyEndInstance(IlrRuleInstance instance)
Provides notification that a rule instance has finished executing the action part.
notifyEndInstance
in interface IlrTool
instance
- 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 IlrTool
public void notifyBeginTask(IlrTask task)
Provides notification that a task is about to be executed.
notifyBeginTask
in interface IlrTool
task
- The task.public void notifyEndTask(IlrTask task)
Provides notification that a task is about to finish its execution.
notifyEndTask
in interface IlrTool
task
- 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 IlrTool
task
- 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 IlrTool
task
- The task that models the flow.
|
Rule Execution Server API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |