|
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.IlrToolFactory ilog.rules.debug.IlrLocalTracerToolFactory
public class IlrLocalTracerToolFactory
The IlrLocalTracerToolFactory
class is
factory tool, which allows users to create a local trace.
The trace will contain all the selected IlrContext
events
that will occur during the connection.
IlrContext.connectTool(ilog.rules.engine.IlrToolFactory)
Field Summary | |
---|---|
static int |
AGENDA
With an AGENDA filter, all the events related to the agenda are taken into account. |
static int |
OBJECTS
With an OBJECTS filter, all the events related to the working memory are taken into account. |
static int |
RULES
With a RULES filter, all the events related to the ruleset are taken into account. |
Constructor Summary | |
---|---|
IlrLocalTracerToolFactory(Writer writer)
Construct an IlrLocalTracerToolFactory with
IlrLocalTracerToolFactory.RULES | IlrLocalTracerToolFactory.AGENDA |
IlrLocalTracerToolFactory.OBJECTS as a filter. |
|
IlrLocalTracerToolFactory(Writer writer,
int filter)
Construct an IlrLocalTracerToolFactory with the given filter. |
Method Summary | |
---|---|
IlrToolDecorator |
createToolDecorator(IlrContext context)
This method provides a convenient way to customize the default behavior. |
Methods inherited from class ilog.rules.engine.IlrToolFactory |
---|
createTool |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int RULES
With a RULES filter, all the events related to the ruleset are taken into account.
public static final int AGENDA
With an AGENDA filter, all the events related to the agenda are taken into account.
public static final int OBJECTS
With an OBJECTS filter, all the events related to the working memory are taken into account.
Constructor Detail |
---|
public IlrLocalTracerToolFactory(Writer writer, int filter)
Construct an IlrLocalTracerToolFactory
with the given filter.
writer
- The java.io.Writer
where
the trace will be written.filter
- The filter used.public IlrLocalTracerToolFactory(Writer writer)
Construct an IlrLocalTracerToolFactory
with
IlrLocalTracerToolFactory.RULES | IlrLocalTracerToolFactory.AGENDA |
IlrLocalTracerToolFactory.OBJECTS
as a filter.
writer
- The java.io.Writer
where
the trace will be written.Method Detail |
---|
public IlrToolDecorator createToolDecorator(IlrContext context)
This method provides a convenient way to customize the default behavior.
Each time this is connected to an IlrContext
an IlrTool
is created.
This method allows users to add a decorator on each newly created
IlrTool
in order to customize the default behavior.
context
- The context on which the connectTool
method is called.
a new IlrToolDecorator
which is used to decorate the newly created
IlrTool
.IlrToolFactory.createTool(ilog.rules.engine.IlrContext, String)
,
IlrContext.connectTool(ilog.rules.engine.IlrToolFactory)
|
Rule Execution Server API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |