public class IlrToolDecorator extends java.lang.Object implements IlrTool
The IlrToolDecorator class is useful to customize
an already defined IlrTool.
IlrLocalTracerToolFactory,
ilog.rules.debug.IlrBuilderToolFactory| Constructor and Description |
|---|
IlrToolDecorator() |
| Modifier and Type | Method and Description |
|---|---|
IlrTool |
getTool()
Gets the decorated
IlrTool. |
void |
notifyActivateRule(IlrRule rule)
Redirects the call on the decorated
IlrTool. |
void |
notifyAddInstance(IlrRuleInstance instance,
IlrRuleInstance previous)
Redirects the call on the decorated
IlrTool. |
void |
notifyAddRule(IlrRule rule)
Redirects the call on the decorated
IlrTool. |
void |
notifyAssertLogical(java.lang.Object object)
Redirects the call on the decorated
IlrTool. |
void |
notifyAssertObject(java.lang.Object object)
Redirects the call on the decorated
IlrTool. |
void |
notifyBeginInstance(IlrRuleInstance instance)
Redirects the call on the decorated
IlrTool. |
void |
notifyBeginSequentialInstance(IlrRule rule,
java.lang.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()
Redirects the call on the decorated
IlrTool. |
void |
notifyDeactivateRule(IlrRule rule)
Redirects the call on the decorated
IlrTool. |
void |
notifyDefineFunction(IlrFunction function)
Redirects the call on the decorated
IlrTool. |
void |
notifyDisconnect()
Redirects the call on the decorated
IlrTool. |
void |
notifyEndInstance(IlrRuleInstance instance)
Redirects the call on the decorated
IlrTool. |
void |
notifyEndRuleFlow(IlrTask task)
Provides notification that a flow is about to finish its execution.
|
void |
notifyEndSequentialInstance(IlrRule rule,
java.lang.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()
Redirects the call on the decorated
IlrTool. |
void |
notifyRemoveInstance(IlrRuleInstance instance)
Redirects the call on the decorated
IlrTool. |
void |
notifyRemoveRule(IlrRule rule)
Redirects the call on the decorated
IlrTool. |
void |
notifyReset()
Redirects the call on the decorated
IlrTool. |
void |
notifyRetractAll()
Redirects the call on the decorated
IlrTool. |
void |
notifyRetractObject(java.lang.Object object)
Redirects the call on the decorated
IlrTool. |
void |
notifySetInitialRule(java.util.Vector initialStatements)
Redirects the call on the decorated
IlrTool. |
void |
notifyStartRuleFlow(IlrTask task)
Provides notification that a flow is about to be executed.
|
void |
notifyUpdateObject(java.lang.Object object)
Redirects the call on the decorated
IlrTool. |
void |
setTool(IlrTool tool)
Sets the decorated
IlrTool. |
public void setTool(IlrTool tool)
Sets the decorated IlrTool.
tool - The tool.public IlrTool getTool()
Gets the decorated IlrTool.
public void notifyConnect()
Redirects the call on the decorated IlrTool.
notifyConnect in interface IlrToolpublic void notifyDisconnect()
Redirects the call on the decorated IlrTool.
notifyDisconnect in interface IlrToolpublic void notifyAddRule(IlrRule rule)
Redirects the call on the decorated IlrTool.
notifyAddRule in interface IlrToolrule - The added rule for notification.public void notifyRemoveRule(IlrRule rule)
Redirects the call on the decorated IlrTool.
notifyRemoveRule in interface IlrToolrule - The removed rule for notification.public void notifySetInitialRule(java.util.Vector initialStatements)
Redirects the call on the decorated IlrTool.
notifySetInitialRule in interface IlrToolinitialStatements - The Initial Actions for notification.public void notifyActivateRule(IlrRule rule)
Redirects the call on the decorated IlrTool.
notifyActivateRule in interface IlrToolrule - The activated rule for notification.public void notifyDeactivateRule(IlrRule rule)
Redirects the call on the decorated IlrTool.
notifyDeactivateRule in interface IlrToolrule - The deactivated rule for notification.public void notifyDefineFunction(IlrFunction function)
Redirects the call on the decorated IlrTool.
notifyDefineFunction in interface IlrToolfunction - The defined function for notification.public void notifyAssertObject(java.lang.Object object)
Redirects the call on the decorated IlrTool.
notifyAssertObject in interface IlrToolobject - The asserted object for notification.public void notifyAssertLogical(java.lang.Object object)
Redirects the call on the decorated IlrTool.
notifyAssertLogical in interface IlrToolobject - The asserted logical object for notification.public void notifyRetractObject(java.lang.Object object)
Redirects the call on the decorated IlrTool.
notifyRetractObject in interface IlrToolobject - The retracted object for notification.public void notifyUpdateObject(java.lang.Object object)
Redirects the call on the decorated IlrTool.
notifyUpdateObject in interface IlrToolobject - The updated object for notification.public void notifyRetractAll()
Redirects the call on the decorated IlrTool.
notifyRetractAll in interface IlrToolpublic void notifyReset()
Redirects the call on the decorated IlrTool.
notifyReset in interface IlrToolpublic void notifyAddInstance(IlrRuleInstance instance, IlrRuleInstance previous)
Redirects the call on the decorated IlrTool.
notifyAddInstance in interface IlrToolinstance - The rule instance for notification.previous - The previous rule instance.public void notifyRemoveInstance(IlrRuleInstance instance)
Redirects the call on the decorated IlrTool.
notifyRemoveInstance in interface IlrToolinstance - The removed rule instance for notification.public void notifyRemoveAllInstances()
Redirects the call on the decorated IlrTool.
notifyRemoveAllInstances in interface IlrToolpublic void notifyBeginInstance(IlrRuleInstance instance)
Redirects the call on the decorated IlrTool.
notifyBeginInstance in interface IlrToolinstance - The rule instance for notification.public void notifyEndInstance(IlrRuleInstance instance)
Redirects the call on the decorated IlrTool.
notifyEndInstance in interface IlrToolinstance - The rule instance for notification.public void notifyBeginSequentialInstance(IlrRule rule, java.lang.Object[] tuple, int priority)
notifyBeginSequentialInstance in interface IlrToolpublic void notifyEndSequentialInstance(IlrRule rule, java.lang.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 provokes 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 provokes the execution of other tasks, or a single rule task or function task.
notifyEndRuleFlow in interface IlrTooltask - The task that models the flow.© Copyright IBM Corp. 1987, 2017