|
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.IlrToolDecorator
public class IlrToolDecorator
The IlrToolDecorator
class is useful to customize
an already defined IlrTool
.
IlrLocalTracerToolFactory
,
ilog.rules.debug.IlrBuilderToolFactory
Constructor Summary | |
---|---|
IlrToolDecorator()
|
Method Summary | |
---|---|
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(Object object)
Redirects the call on the decorated IlrTool . |
void |
notifyAssertObject(Object object)
Redirects the call on the decorated IlrTool . |
void |
notifyBeginInstance(IlrRuleInstance instance)
Redirects the call on the decorated IlrTool . |
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()
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,
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(Object object)
Redirects the call on the decorated IlrTool . |
void |
notifySetInitialRule(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(Object object)
Redirects the call on the decorated IlrTool . |
void |
setTool(IlrTool tool)
Sets the decorated IlrTool . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IlrToolDecorator()
Method Detail |
---|
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 IlrTool
public void notifyDisconnect()
Redirects the call on the decorated IlrTool
.
notifyDisconnect
in interface IlrTool
public void notifyAddRule(IlrRule rule)
Redirects the call on the decorated IlrTool
.
notifyAddRule
in interface IlrTool
rule
- The added rule for notification.public void notifyRemoveRule(IlrRule rule)
Redirects the call on the decorated IlrTool
.
notifyRemoveRule
in interface IlrTool
rule
- The removed rule for notification.public void notifySetInitialRule(Vector initialStatements)
Redirects the call on the decorated IlrTool
.
notifySetInitialRule
in interface IlrTool
initialStatements
- The Initial Actions for notification.public void notifyActivateRule(IlrRule rule)
Redirects the call on the decorated IlrTool
.
notifyActivateRule
in interface IlrTool
rule
- The activated rule for notification.public void notifyDeactivateRule(IlrRule rule)
Redirects the call on the decorated IlrTool
.
notifyDeactivateRule
in interface IlrTool
rule
- The deactivated rule for notification.public void notifyDefineFunction(IlrFunction function)
Redirects the call on the decorated IlrTool
.
notifyDefineFunction
in interface IlrTool
function
- The defined function for notification.public void notifyAssertObject(Object object)
Redirects the call on the decorated IlrTool
.
notifyAssertObject
in interface IlrTool
object
- The asserted object for notification.public void notifyAssertLogical(Object object)
Redirects the call on the decorated IlrTool
.
notifyAssertLogical
in interface IlrTool
object
- The asserted logical object for notification.public void notifyRetractObject(Object object)
Redirects the call on the decorated IlrTool
.
notifyRetractObject
in interface IlrTool
object
- The retracted object for notification.public void notifyUpdateObject(Object object)
Redirects the call on the decorated IlrTool
.
notifyUpdateObject
in interface IlrTool
object
- The updated object for notification.public void notifyRetractAll()
Redirects the call on the decorated IlrTool
.
notifyRetractAll
in interface IlrTool
public void notifyReset()
Redirects the call on the decorated IlrTool
.
notifyReset
in interface IlrTool
public void notifyAddInstance(IlrRuleInstance instance, IlrRuleInstance previous)
Redirects the call on the decorated IlrTool
.
notifyAddInstance
in interface IlrTool
instance
- 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 IlrTool
instance
- The removed rule instance for notification.public void notifyRemoveAllInstances()
Redirects the call on the decorated IlrTool
.
notifyRemoveAllInstances
in interface IlrTool
public void notifyBeginInstance(IlrRuleInstance instance)
Redirects the call on the decorated IlrTool
.
notifyBeginInstance
in interface IlrTool
instance
- The rule instance for notification.public void notifyEndInstance(IlrRuleInstance instance)
Redirects the call on the decorated IlrTool
.
notifyEndInstance
in interface IlrTool
instance
- The rule instance for notification.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 provokes 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 provokes 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 |