|
Rule Execution Server API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IlrFactoryExplorer
This interface allows you to implement a class whose main task is to explore the contents of factory objects.
There are several class hierarchies in the factory API. For a specific task, you may have to visit all the factory objects. This interface provides you with an easy way to visit all the factory objects. The methods specify the actions to be performed on each instance of a concrete class.
The IlrRuleWriter
class is a good example of how to use
this interface.
Also notice that all the methods return an object. If your method does
not intend to return a value, you may return null
.
IlrRuleWriter
,
IlrCondition.exploreCondition(IlrFactoryExplorer)
,
IlrTest.exploreTest(IlrFactoryExplorer)
,
IlrValue.exploreValue(IlrFactoryExplorer)
,
IlrStatement.exploreStatement(IlrFactoryExplorer)
,
IlrAssignable.exploreAssignable(IlrFactoryExplorer)
Method Summary | |
---|---|
Object |
exploreAssignable(IlrArrayElement assignable)
Explores an array element as an assignable entity. |
Object |
exploreAssignable(IlrFieldValue assignable)
Explores a field value as an assignable entity. |
Object |
exploreAssignable(IlrStaticFieldValue assignable)
Explores a static field value as an assignable entity. |
Object |
exploreAssignable(IlrVariable assignable)
Explores a variable as an assignable entity. |
Object |
exploreCondition(IlrCollectCondition cond)
Explores a collection condition and returns an object as
the result. |
Object |
exploreCondition(IlrEvaluateCondition cond)
Explores an evaluate condition and returns an object as
the result. |
Object |
exploreCondition(IlrExistsCondition cond)
Explores an exists condition and returns an object as
the result. |
Object |
exploreCondition(IlrNotCondition cond)
Explores a not condition and returns an object as
the result. |
Object |
exploreCondition(IlrSimpleCondition cond)
Explores a simple condition and returns an object as
the result. |
Object |
exploreCondition(IlrTimeCondition cond)
Explores a time condition and returns an object as the result. |
Object |
exploreStatement(IlrApplyAction action)
Deprecated. |
Object |
exploreStatement(IlrAssertAction action)
Explores an action and returns an object as the result. |
Object |
exploreStatement(IlrAssignment statement)
Explores a statement and returns an object as the result. |
Object |
exploreStatement(IlrBindStatement statement)
Explores an action and returns an object as the result. |
Object |
exploreStatement(IlrBreakStatement statement)
Explores a break as a statement. |
Object |
exploreStatement(IlrContinueStatement statement)
Explores a continue as a statement. |
Object |
exploreStatement(IlrExecuteStatement statement)
Deprecated. |
Object |
exploreStatement(IlrForeachStatement statement)
Explores an action and returns an object as the result. |
Object |
exploreStatement(IlrForStatement statement)
Explores an action and returns an object as the result. |
Object |
exploreStatement(IlrFunctionInvocation statement)
Explores a function invocation as a statement. |
Object |
exploreStatement(IlrIfStatement statement)
Explores an action and returns an object as the result. |
Object |
exploreStatement(IlrMethodInvocation statement)
Explores a method invocation as a statement. |
Object |
exploreStatement(IlrModifyAction action)
Explores an action and returns an object as the result. |
Object |
exploreStatement(IlrRetractAction action)
Explores an action and returns an object as the result. |
Object |
exploreStatement(IlrReturnStatement statement)
Explores a return as a statement. |
Object |
exploreStatement(IlrStaticMethodInvocation statement)
Explores a static method invocation as a statement. |
Object |
exploreStatement(IlrTaskForkNodeStatement node)
Explores a fork ruleflow node and returns an object as
the result. |
Object |
exploreStatement(IlrTaskGotoNodeStatement node)
Explores a goto ruleflow node and returns an object
as the result. |
Object |
exploreStatement(IlrTaskIfNodeStatement node)
Explores an if ruleflow node and returns an object
as the result. |
Object |
exploreStatement(IlrTaskInstanceStatement node)
Explores a task invocation node and returns an object as the result. |
Object |
exploreStatement(IlrTaskSwitchNodeStatement node)
Explores a switch ruleflow node and returns an object
as the result. |
Object |
exploreStatement(IlrTaskWhileNodeStatement node)
Explores a while ruleflow node and returns an object
as the result. |
Object |
exploreStatement(IlrThrowStatement statement)
Explores a throw as a statement. |
Object |
exploreStatement(IlrTimeOutBlock statement)
Explores an action and returns an object as the result. |
Object |
exploreStatement(IlrTryCatchFinallyStatement statement)
Explores an action and returns an object as the result. |
Object |
exploreStatement(IlrUnaryValue statement)
Explores an action and returns an object as the result. |
Object |
exploreStatement(IlrUpdateAction action)
Explores an action and returns an object as the result. |
Object |
exploreStatement(IlrWhileStatement statement)
Explores an action and returns an object as the result. |
Object |
exploreTask(IlrFlowTaskFactory task)
Explores a flow-based task factory and return an object as the result. |
Object |
exploreTask(IlrFunctionTaskFactory task)
Explores a function-based task factory and returns an object as the result. |
Object |
exploreTask(IlrRuleTaskFactory task)
Explores a rule-based task factory and returns an object as the result. |
Object |
exploreTest(IlrAfterTest test)
Explores an after test and returns an object as
the result. |
Object |
exploreTest(IlrBeforeTest test)
Explores a before test and returns an object as
the result. |
Object |
exploreTest(IlrBinaryTest test)
Explores a binary test and returns an object as the result. |
Object |
exploreTest(IlrInstanceOfTest test)
Explores an instanceof test and returns an object as
the result. |
Object |
exploreTest(IlrNaryTest test)
Explores a test and returns an object as the result. |
Object |
exploreTest(IlrNotTest test)
Explores a logical NOT test and returns an object as
the result. |
Object |
exploreTest(IlrOccursinTest test)
Explores an occursin test and returns an object as
the result. |
Object |
exploreTest(IlrUnaryTest test)
Explores a unary test and returns an object as the result. |
Object |
exploreTest(IlrUnknownTest test)
Explores an unknown test and returns an object as
the result. |
Object |
exploreValue(IlrArrayElement value)
Explores a value and returns an object as the result. |
Object |
exploreValue(IlrArrayLength value)
Explores a value and returns an object as the result. |
Object |
exploreValue(IlrAsValue value)
Explores a value and returns an object as the result. |
Object |
exploreValue(IlrBinaryValue value)
Explores a value and returns an object as the result. |
Object |
exploreValue(IlrCastValue value)
Explores a value and returns an object as the result. |
Object |
exploreValue(IlrClassTypeValue value)
Explores a value and returns an object as the result. |
Object |
exploreValue(IlrCollectInSourceValue arg)
|
Object |
exploreValue(IlrConstantValue value)
Explores a value and returns an object as the result. |
Object |
exploreValue(IlrContextValue value)
Explores a value and returns an object as the result. |
Object |
exploreValue(IlrEventTimeValue value)
Deprecated. As of IBM Decision Server 7.5, event processing is deprecated. |
Object |
exploreValue(IlrFieldValue value)
Explores a value and returns an object as the result. |
Object |
exploreValue(IlrFunctionInvocation value)
Explores a value and returns an object as the result. |
Object |
exploreValue(IlrInstanceValue value)
Explores a value and returns an object as the result. |
Object |
exploreValue(IlrIntervalValue value)
Explores a value modeling an interval. |
Object |
exploreValue(IlrMethodInvocation value)
Explores a value and returns an object as the result. |
Object |
exploreValue(IlrNewArrayInstanceValue value)
Explores a value and returns an object as the result. |
Object |
exploreValue(IlrNewInstanceValue value)
Explores a value and returns an object as the result. |
Object |
exploreValue(IlrObjectValue value)
Explores a value and returns an object as the result. |
Object |
exploreValue(IlrPropertyAccessValue arg)
|
Object |
exploreValue(IlrScopeValue value)
Explores a value and returns an object as the result. |
Object |
exploreValue(IlrStaticFieldValue value)
Explores a value and returns an object as the result. |
Object |
exploreValue(IlrStaticMethodInvocation value)
Explores a value and returns an object as the result. |
Object |
exploreValue(IlrTestValue value)
Explores a value and returns an object as the result. |
Object |
exploreValue(IlrUnaryValue value)
Explores a value and returns an object as the result. |
Object |
exploreValue(IlrVariable value)
Explores a value and returns an object as the result. |
Method Detail |
---|
Object exploreCondition(IlrEvaluateCondition cond)
evaluate
condition and returns an object as
the result.
cond
- The condition.IlrEvaluateCondition.exploreCondition(IlrFactoryExplorer)
Object exploreCondition(IlrSimpleCondition cond)
simple
condition and returns an object as
the result.
cond
- The condition.IlrSimpleCondition.exploreCondition(IlrFactoryExplorer)
Object exploreCondition(IlrNotCondition cond)
not
condition and returns an object as
the result.
cond
- The condition.IlrNotCondition.exploreCondition(IlrFactoryExplorer)
Object exploreCondition(IlrExistsCondition cond)
exists
condition and returns an object as
the result.
cond
- The condition.IlrExistsCondition.exploreCondition(IlrFactoryExplorer)
Object exploreCondition(IlrCollectCondition cond)
collection
condition and returns an object as
the result.
cond
- The condition.IlrCollectCondition.exploreCondition(IlrFactoryExplorer)
Object exploreCondition(IlrTimeCondition cond)
cond
- The condition.IlrTimeCondition.exploreCondition(IlrFactoryExplorer)
Object exploreTest(IlrUnaryTest test)
test
- A unary test.IlrUnaryTest.exploreTest(IlrFactoryExplorer)
Object exploreTest(IlrBinaryTest test)
test
- A binary test.IlrBinaryTest.exploreTest(IlrFactoryExplorer)
Object exploreTest(IlrOccursinTest test)
occursin
test and returns an object as
the result.
test
- An occursin
test.IlrOccursinTest.exploreTest(IlrFactoryExplorer)
Object exploreTest(IlrBeforeTest test)
before
test and returns an object as
the result.
test
- A before
test.IlrBeforeTest.exploreTest(IlrFactoryExplorer)
Object exploreTest(IlrAfterTest test)
after
test and returns an object as
the result.
test
- An after
test.IlrAfterTest.exploreTest(IlrFactoryExplorer)
Object exploreTest(IlrInstanceOfTest test)
instanceof
test and returns an object as
the result.
test
- An instanceof
test.IlrInstanceOfTest.exploreTest(IlrFactoryExplorer)
Object exploreTest(IlrUnknownTest test)
unknown
test and returns an object as
the result.
test
- An unknown
test.IlrUnknownTest.exploreTest(IlrFactoryExplorer)
Object exploreTest(IlrNotTest test)
NOT
test and returns an object as
the result.
test
- A logical NOT
test.IlrNotTest.exploreTest(IlrFactoryExplorer)
Object exploreTest(IlrNaryTest test)
AND
test.
test
- The test involved in the logical AND test.IlrNaryTest.exploreTest(IlrFactoryExplorer)
Object exploreValue(IlrConstantValue value)
constant
value.
value
- A constant value.IlrConstantValue.exploreValue(IlrFactoryExplorer)
Object exploreValue(IlrClassTypeValue value)
IlrClassTypeValue
value.
value
- An IlrClassTypeValue
value.IlrClassTypeValue.exploreValue(IlrFactoryExplorer)
Object exploreValue(IlrCastValue value)
cast
value.
value
- A cast
value.IlrCastValue.exploreValue(IlrFactoryExplorer)
Object exploreValue(IlrAsValue value)
as
value.
value
- An as
value.IlrAsValue.exploreValue(IlrFactoryExplorer)
Object exploreValue(IlrVariable value)
value
- A variable value.IlrVariable.exploreValue(IlrFactoryExplorer)
Object exploreValue(IlrContextValue value)
context
value.
value
- A context
value.IlrContextValue.exploreValue(IlrFactoryExplorer)
Object exploreValue(IlrInstanceValue value)
rule instance
value.
value
- A rule instance
value.IlrInstanceValue.exploreValue(IlrFactoryExplorer)
Object exploreValue(IlrScopeValue value)
scope
value of the rule task being explored.
value
- A scope
value.IlrScopeValue.exploreValue(IlrFactoryExplorer)
Object exploreValue(IlrObjectValue value)
object
value.
value
- An object
value.IlrObjectValue.exploreValue(IlrFactoryExplorer)
Object exploreValue(IlrEventTimeValue value)
event timestamp
value.
value
- An event timestamp
value.IlrEventTimeValue.exploreValue(IlrFactoryExplorer)
Object exploreValue(IlrArrayLength value)
array length
.
value
- An array length
value.IlrArrayLength.exploreValue(IlrFactoryExplorer)
Object exploreValue(IlrArrayElement value)
array element
.
value
- An array element
value.IlrArrayElement.exploreValue(IlrFactoryExplorer)
Object exploreValue(IlrStaticFieldValue value)
value
- A static field
value.IlrStaticFieldValue.exploreValue(IlrFactoryExplorer)
Object exploreValue(IlrFieldValue value)
field
value.
value
- A field
value.IlrFieldValue.exploreValue(IlrFactoryExplorer)
Object exploreValue(IlrStaticMethodInvocation value)
value
- A static method invocation value.IlrStaticMethodInvocation.exploreValue(IlrFactoryExplorer)
Object exploreValue(IlrFunctionInvocation value)
value
- A function invocation value.IlrFunctionInvocation.exploreValue(IlrFactoryExplorer)
Object exploreValue(IlrMethodInvocation value)
method invocation
value.
value
- A method invocation
value.IlrMethodInvocation.exploreValue(IlrFactoryExplorer)
Object exploreValue(IlrNewInstanceValue value)
object creation
value.
value
- An object creation
value.IlrNewInstanceValue.exploreValue(IlrFactoryExplorer)
Object exploreValue(IlrNewArrayInstanceValue value)
array object creation
value.
value
- An array object creation
value.IlrNewArrayInstanceValue.exploreValue(IlrFactoryExplorer)
Object exploreValue(IlrUnaryValue value)
value
- A unary expression.IlrUnaryValue.exploreValue(IlrFactoryExplorer)
Object exploreValue(IlrBinaryValue value)
value
- A binary arithmetic expression.IlrBinaryValue.exploreValue(IlrFactoryExplorer)
Object exploreAssignable(IlrVariable assignable)
assignable
- A variable.IlrVariable.exploreAssignable(IlrFactoryExplorer)
Object exploreAssignable(IlrArrayElement assignable)
assignable
- An array element.IlrArrayElement.exploreAssignable(IlrFactoryExplorer)
Object exploreAssignable(IlrStaticFieldValue assignable)
assignable
- A static field value.IlrStaticFieldValue.exploreAssignable(IlrFactoryExplorer)
Object exploreAssignable(IlrFieldValue assignable)
assignable
- A field value.IlrFieldValue.exploreAssignable(IlrFactoryExplorer)
Object exploreValue(IlrTestValue value)
value
- The value that encapsulates a test.IlrTestValue.exploreValue(IlrFactoryExplorer)
Object exploreValue(IlrIntervalValue value)
value
- A value modeling an interval.IlrIntervalValue.exploreValue(IlrFactoryExplorer)
Object exploreStatement(IlrBindStatement statement)
bind
action.
statement
- The statement.IlrBindStatement.exploreStatement(IlrFactoryExplorer)
Object exploreStatement(IlrAssignment statement)
assignment
statement.
statement
- The statement.IlrAssignment.exploreStatement(IlrFactoryExplorer)
Object exploreStatement(IlrStaticMethodInvocation statement)
statement
- The statement.IlrStaticMethodInvocation.exploreStatement(IlrFactoryExplorer)
Object exploreStatement(IlrFunctionInvocation statement)
statement
- The statement.IlrFunctionInvocation.exploreStatement(IlrFactoryExplorer)
Object exploreStatement(IlrReturnStatement statement)
statement
- The statement.IlrReturnStatement.exploreStatement(IlrFactoryExplorer)
Object exploreStatement(IlrThrowStatement statement)
statement
- The statement.IlrThrowStatement.exploreStatement(IlrFactoryExplorer)
Object exploreStatement(IlrBreakStatement statement)
statement
- The statement.IlrBreakStatement.exploreStatement(IlrFactoryExplorer)
Object exploreStatement(IlrContinueStatement statement)
statement
- The statement.IlrContinueStatement.exploreStatement(IlrFactoryExplorer)
Object exploreStatement(IlrMethodInvocation statement)
statement
- The statement.IlrMethodInvocation.exploreStatement(IlrFactoryExplorer)
Object exploreStatement(IlrExecuteStatement statement)
execute
action.
statement
- The statement.IlrExecuteStatement.exploreStatement(IlrFactoryExplorer)
Object exploreStatement(IlrIfStatement statement)
if
statement.
statement
- The statement.IlrIfStatement.exploreStatement(IlrFactoryExplorer)
Object exploreStatement(IlrTryCatchFinallyStatement statement)
try-catch-finally
statement.
statement
- The statement.IlrTryCatchFinallyStatement.exploreStatement(IlrFactoryExplorer)
Object exploreStatement(IlrWhileStatement statement)
while
statement block.
statement
- The statement.IlrWhileStatement.exploreStatement(IlrFactoryExplorer)
Object exploreStatement(IlrUnaryValue statement)
for
instruction.
statement
- The statement.IlrUnaryValue.exploreStatement(IlrFactoryExplorer)
Object exploreStatement(IlrForStatement statement)
for
instruction.
statement
- The statement.IlrForStatement.exploreStatement(IlrFactoryExplorer)
Object exploreStatement(IlrForeachStatement statement)
foreach
instruction.
statement
- The statement.IlrForeachStatement.exploreStatement(IlrFactoryExplorer)
Object exploreStatement(IlrTimeOutBlock statement)
timeout
statement block.
statement
- The statement.IlrTimeOutBlock.exploreStatement(IlrFactoryExplorer)
Object exploreStatement(IlrAssertAction action)
assert
action.
action
- The action.IlrAssertAction.exploreStatement(IlrFactoryExplorer)
Object exploreStatement(IlrRetractAction action)
retract
action.
action
- The action.IlrRetractAction.exploreStatement(IlrFactoryExplorer)
Object exploreStatement(IlrModifyAction action)
modify
action.
action
- The action.IlrModifyAction.exploreStatement(IlrFactoryExplorer)
Object exploreStatement(IlrUpdateAction action)
update
action.
action
- The action.IlrUpdateAction.exploreStatement(IlrFactoryExplorer)
Object exploreStatement(IlrApplyAction action)
apply
action.
action
- The action.IlrApplyAction.exploreStatement(IlrFactoryExplorer)
Object exploreTask(IlrRuleTaskFactory task)
task
- The rule-based task to explore.ilog.rules.factory.IlrTaskFactory.exploreTask(ilog.rules.factory.IlrFactoryExplorer)
Object exploreTask(IlrFunctionTaskFactory task)
task
- The function-based task to explore.ilog.rules.factory.IlrTaskFactory.exploreTask(ilog.rules.factory.IlrFactoryExplorer)
Object exploreTask(IlrFlowTaskFactory task)
task
- The flow-based task to explore.ilog.rules.factory.IlrTaskFactory.exploreTask(ilog.rules.factory.IlrFactoryExplorer)
Object exploreStatement(IlrTaskInstanceStatement node)
node
- The task invocation node to explore.ilog.rules.factory.IlrTaskInstanceStatement.exploreStatement(ilog.rules.factory.IlrFactoryExplorer)
Object exploreStatement(IlrTaskIfNodeStatement node)
if
ruleflow node and returns an object
as the result.
node
- The if
ruleflow node to explore.ilog.rules.factory.IlrTaskIfNodeStatement.exploreStatement(ilog.rules.factory.IlrFactoryExplorer)
Object exploreStatement(IlrTaskSwitchNodeStatement node)
switch
ruleflow node and returns an object
as the result.
node
- The switch
ruleflow node to explore.ilog.rules.factory.IlrTaskSwitchNodeStatement.exploreStatement(ilog.rules.factory.IlrFactoryExplorer)
Object exploreStatement(IlrTaskForkNodeStatement node)
fork
ruleflow node and returns an object as
the result.
node
- The fork
node to explore.ilog.rules.factory.IlrTaskForkNodeStatement.exploreStatement(ilog.rules.factory.IlrFactoryExplorer)
Object exploreStatement(IlrTaskGotoNodeStatement node)
goto
ruleflow node and returns an object
as the result.
node
- The goto
ruleflow node to explore.ilog.rules.factory.IlrTaskGotoNodeStatement.exploreStatement(ilog.rules.factory.IlrFactoryExplorer)
Object exploreStatement(IlrTaskWhileNodeStatement node)
while
ruleflow node and returns an object
as the result.
node
- The while
ruleflow node to explore.ilog.rules.factory.IlrTaskWhileNodeStatement.exploreStatement(ilog.rules.factory.IlrFactoryExplorer)
Object exploreValue(IlrCollectInSourceValue arg)
Object exploreValue(IlrPropertyAccessValue arg)
|
Rule Execution Server API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |