|
Rule Execution Server API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.io.Writer java.io.PrintWriter ilog.rules.factory.IlrRuleWriter
public class IlrRuleWriter
Conversion of a rule factory into a rule definition of the ILOG Rule Language.
This class implements IlrFactoryExplorer
to explore
the contents of the factory objects in order to reverse their contents
to the language. Thus, most of the public methods are simply required
by the interface and are not documented.
IlrRulesetFactory.toLanguage()
Field Summary | |
---|---|
protected boolean |
withStatementEol
|
Fields inherited from class java.io.PrintWriter |
---|
out |
Fields inherited from class java.io.Writer |
---|
lock |
Constructor Summary | |
---|---|
IlrRuleWriter(OutputStream stream)
Constructs a rule writer using an output stream. |
|
IlrRuleWriter(Writer writer)
Constructs a rule writer using a writer. |
Method Summary | |
---|---|
Object |
exploreAssignable(IlrArrayElement assignable)
Writes an array element as an assignable and returns an object as the result. |
Object |
exploreAssignable(IlrFieldValue assignable)
Writes a field value as an assignable and returns an object as the result. |
Object |
exploreAssignable(IlrStaticFieldValue assignable)
Writes a static field value as an assignable and returns an object as the result. |
Object |
exploreAssignable(IlrVariable assignable)
Writes a variable as an assignable and returns an object as the result. |
Object |
exploreCondition(IlrCollectCondition cond)
Writes a collection condition and returns null . |
Object |
exploreCondition(IlrEvaluateCondition cond)
Writes an evaluate condition and returns null . |
Object |
exploreCondition(IlrExistsCondition cond)
Writes an exists condition and returns null . |
Object |
exploreCondition(IlrNotCondition cond)
Writes a not condition and returns null . |
Object |
exploreCondition(IlrSimpleCondition cond)
Writes a simple condition and returns null . |
Object |
exploreCondition(IlrTimeCondition cond)
Writes a time condition and returns null . |
Object |
exploreStatement(IlrApplyAction action)
Deprecated. |
Object |
exploreStatement(IlrAssertAction action)
Writes an assert action and returns an
object as the result. |
Object |
exploreStatement(IlrAssignment assign)
Writes an assignment statement and returns an object as the result. |
Object |
exploreStatement(IlrBindStatement action)
Writes a bind 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 action)
Deprecated. |
Object |
exploreStatement(IlrForeachStatement statement)
Writes a foreach instruction and
returns an object as the result. |
Object |
exploreStatement(IlrForStatement statement)
Writes a for instruction and
returns an object as the result. |
Object |
exploreStatement(IlrFunctionInvocation statement)
Writes a function invocation and returns an object as the result. |
Object |
exploreStatement(IlrIfStatement action)
Writes an if statement block and returns null . |
Object |
exploreStatement(IlrMethodInvocation statement)
Writes a method invocation statement and returns an object as the result. |
Object |
exploreStatement(IlrModifyAction action)
Writes a modify action and returns an
object as the result. |
Object |
exploreStatement(IlrRetractAction action)
Writes a retract action and returns an
object as the result. |
Object |
exploreStatement(IlrReturnStatement statement)
Explores a return as a statement. |
Object |
exploreStatement(IlrStaticMethodInvocation statement)
Writes a static method invocation and returns an object as the result. |
Object |
exploreStatement(IlrTaskForkNodeStatement node)
Writes the fork ruleflow node and returns an object
as the result. |
Object |
exploreStatement(IlrTaskGotoNodeStatement node)
Writes the goto ruleflow node and returns an object
as the result. |
Object |
exploreStatement(IlrTaskIfNodeStatement node)
Writes the if ruleflow node and returns an object
as the result. |
Object |
exploreStatement(IlrTaskInstanceStatement node)
Writes the task invocation node and returns an object as the result. |
Object |
exploreStatement(IlrTaskSwitchNodeStatement node)
Writes the switch ruleflow node and returns an object
as the result. |
Object |
exploreStatement(IlrTaskWhileNodeStatement node)
Writes the while ruleflow node and returns an object
as the result. |
Object |
exploreStatement(IlrThrowStatement statement)
Explores a throw as a statement. |
Object |
exploreStatement(IlrTimeOutBlock action)
Writes a timeout statement block and returns
null |
Object |
exploreStatement(IlrTryCatchFinallyStatement action)
Writes a try-catch-finally statement block and returns
null . |
Object |
exploreStatement(IlrUnaryValue statement)
Writes a unary value invocation and returns an object as the result. |
Object |
exploreStatement(IlrUpdateAction action)
Writes an update action and returns an
object as the result. |
Object |
exploreStatement(IlrWhileStatement action)
Writes a while statement block and returns
null . |
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)
Writes a binary test involving two values and returns an object as the result. |
Object |
exploreTest(IlrInstanceOfTest test)
Writes an instanceOf test. |
Object |
exploreTest(IlrNaryTest test)
Writes an N-ary test and returns an object as the result. |
Object |
exploreTest(IlrNotTest test)
Writes a 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)
Writes a test and returns an object as the result. |
Object |
exploreTest(IlrUnknownTest test)
Writes an unknown test. |
Object |
exploreValue(IlrArrayElement value)
Writes an array element and returns an object as the result. |
Object |
exploreValue(IlrArrayLength value)
Writes an array length and returns an object as the result. |
Object |
exploreValue(IlrAsValue value)
Writes a cast value and returns null . |
Object |
exploreValue(IlrBinaryValue value)
Writes a binary value and returns null . |
Object |
exploreValue(IlrCastValue value)
Writes a cast value and returns null . |
Object |
exploreValue(IlrClassTypeValue value)
Writes a class type value and returns null . |
Object |
exploreValue(IlrCollectInSourceValue value)
Writes a collect value invocation and
returns null . |
Object |
exploreValue(IlrConstantValue value)
Writes a constant value and returns null . |
Object |
exploreValue(IlrContextValue value)
Writes a context value and returns null . |
Object |
exploreValue(IlrEventTimeValue value)
Writes an event timestamp value and returns null . |
Object |
exploreValue(IlrFieldValue value)
Writes a field value and returns an object as the result. |
Object |
exploreValue(IlrFunctionInvocation value)
Writes a function invocation as a value and returns an object as the result. |
Object |
exploreValue(IlrInstanceValue value)
Writes a rule instance value and returns null . |
Object |
exploreValue(IlrIntervalValue value)
Explores a value modeling an interval. |
Object |
exploreValue(IlrMethodInvocation value)
Writes a method invocation value and returns an object as the result. |
Object |
exploreValue(IlrNewArrayInstanceValue value)
Writes an array creation value and returns an object as the result. |
Object |
exploreValue(IlrNewInstanceValue value)
Writes an object creation value and returns an object as the result. |
Object |
exploreValue(IlrObjectValue value)
Writes an object value and returns null . |
Object |
exploreValue(IlrPropertyAccessValue arg)
Writes a property access value and returns null . |
Object |
exploreValue(IlrScopeValue value)
Writes a scope value and returns null . |
Object |
exploreValue(IlrStaticFieldValue value)
Writes a static field value and returns an object as the result. |
Object |
exploreValue(IlrStaticMethodInvocation value)
Writes a static method invocation as a value and returns an object as the result. |
Object |
exploreValue(IlrTestValue value)
Writes a test value and returns an object as the result. |
Object |
exploreValue(IlrUnaryValue value)
Writes a unary value and returns null . |
Object |
exploreValue(IlrVariable value)
Writes a variable value and returns null . |
static void |
getImportsAndConflictClasses(List classes,
List imports,
List conflictClasses)
Given a list of classes classes , fills in the lists
imports and
conflictClasses with the imported packages and
the classes that
must be printed in full names. |
protected static boolean |
hasConflict(IlrReflect reflect,
List list,
String pkg,
String basename)
Given a list of imports list and a class name decomposed to
a package name pkg and base name basename ,
indicates whether the base name
could form another class name with any package or not. |
void |
print(IlrFunctionFactory function)
Prints a function factory to the writer using the ILOG Rule Language. |
void |
print(IlrPackageFactory pkg)
Prints a package factory to the writer using the ILOG Rule Language. |
void |
print(IlrRuleFactory rule)
Prints a rule factory to the writer using the ILOG Rule Language. |
void |
print(IlrTaskFactory task)
Prints a task factory to the writer using the ILOG Rule Language. |
protected void |
printCharEscape(char c)
|
void |
printGroupOverriding(IlrRulesetFactory ruleset)
Prints the groups overriding declaration to the writer using the ILOG Rule Language. |
void |
printHierarchicalPropertyDefinitions(IlrRulesetFactory ruleset)
Prints the hierarchical properties to the writer using the ILOG Rule Language. |
void |
printInitialRule(List actions)
Prints the setup statements corresponding to the list of actions. |
void |
printPropertyDefinitions(IlrRulesetFactory ruleset)
Prints the property types declaration to the writer using the ILOG Rule Language. |
protected boolean |
printType(IlrType type,
boolean shortName)
Prints a type encountered in writing the rules and specifies whether a short name for the type is allowed. |
void |
printValue(IlrValue value)
Prints a value. |
Methods inherited from class java.io.PrintWriter |
---|
append, append, append, checkError, clearError, close, flush, format, format, print, print, print, print, print, print, print, print, print, printf, printf, println, println, println, println, println, println, println, println, println, println, setError, write, write, write, write, write |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface ilog.rules.factory.IlrFactoryExplorer |
---|
exploreTask, exploreTask, exploreTask |
Field Detail |
---|
protected boolean withStatementEol
Constructor Detail |
---|
public IlrRuleWriter(Writer writer)
writer
- The writer to which the output
will be directed.public IlrRuleWriter(OutputStream stream)
stream
- The output stream to which the
output will be directed.Method Detail |
---|
public void print(IlrPackageFactory pkg)
pkg
- The package factory to be printed.public void print(IlrRuleFactory rule)
rule
- The rule factory to be printed.public void print(IlrFunctionFactory function)
function
- The function factory to be printed.public static void getImportsAndConflictClasses(List classes, List imports, List conflictClasses)
classes
, fills in the lists
imports
and
conflictClasses
with the imported packages and
the classes that
must be printed in full names. The example is a
java.util.Date
with
a java.sql.Time
(the java.sql.Date
class
is missing).
classes
- The list of classes.imports
- The list of imports.conflictClasses
- The classes that must be printed in full names.protected static boolean hasConflict(IlrReflect reflect, List list, String pkg, String basename)
list
and a class name decomposed to
a package name pkg
and base name basename
,
indicates whether the base name
could form another class name with any package or not.
reflect
- A reflect.list
- The list of imports.pkg
- The class package name.basename
- The class base name.
true
if the base name could form another class
name with any package, or false
otherwise.public void printInitialRule(List actions)
actions
- The list of actions to include in the
initial setup rule.public void printHierarchicalPropertyDefinitions(IlrRulesetFactory ruleset)
ruleset
- The ruleset whose hierarchical properties are written.public void printPropertyDefinitions(IlrRulesetFactory ruleset)
ruleset
- The ruleset whose property types declaration is written.public void printGroupOverriding(IlrRulesetFactory ruleset)
ruleset
- The ruleset whose groups overriding declaration is written.public void printValue(IlrValue value)
value
- The value to print.protected boolean printType(IlrType type, boolean shortName)
false
,
the rule writer considers that the type is not printed and will thus
print it. A return value of true
tells the rule writer
that the type is printed.
type
- The type to print.shortName
- Specifies whether a short name for the type is allowed.
protected void printCharEscape(char c)
public Object exploreCondition(IlrEvaluateCondition cond)
evaluate
condition and returns null
.
exploreCondition
in interface IlrFactoryExplorer
cond
- The condition.IlrEvaluateCondition.exploreCondition(IlrFactoryExplorer)
public Object exploreCondition(IlrSimpleCondition cond)
null
.
exploreCondition
in interface IlrFactoryExplorer
cond
- The condition.IlrSimpleCondition.exploreCondition(IlrFactoryExplorer)
public Object exploreCondition(IlrNotCondition cond)
not
condition and returns null
.
exploreCondition
in interface IlrFactoryExplorer
cond
- The condition.IlrNotCondition.exploreCondition(IlrFactoryExplorer)
public Object exploreCondition(IlrExistsCondition cond)
exists
condition and returns null
.
exploreCondition
in interface IlrFactoryExplorer
cond
- The condition.IlrExistsCondition.exploreCondition(IlrFactoryExplorer)
public Object exploreCondition(IlrCollectCondition cond)
null
.
exploreCondition
in interface IlrFactoryExplorer
cond
- The condition.IlrCollectCondition.exploreCondition(IlrFactoryExplorer)
public Object exploreCondition(IlrTimeCondition cond)
null
.
exploreCondition
in interface IlrFactoryExplorer
cond
- The condition.IlrTimeCondition.exploreCondition(IlrFactoryExplorer)
public Object exploreValue(IlrConstantValue value)
null
.
exploreValue
in interface IlrFactoryExplorer
value
- A constant value.IlrConstantValue.exploreValue(IlrFactoryExplorer)
public Object exploreValue(IlrClassTypeValue value)
null
.
exploreValue
in interface IlrFactoryExplorer
value
- An IlrClassTypeValue
value.IlrClassTypeValue.exploreValue(IlrFactoryExplorer)
public Object exploreValue(IlrCastValue value)
null
.
exploreValue
in interface IlrFactoryExplorer
value
- A cast
value.IlrCastValue.exploreValue(IlrFactoryExplorer)
public Object exploreValue(IlrAsValue value)
null
.
exploreValue
in interface IlrFactoryExplorer
value
- An as
value.IlrCastValue.exploreValue(IlrFactoryExplorer)
public Object exploreValue(IlrVariable value)
null
.
exploreValue
in interface IlrFactoryExplorer
value
- A variable value.IlrVariable.exploreValue(IlrFactoryExplorer)
public Object exploreValue(IlrContextValue value)
context
value and returns null
.
exploreValue
in interface IlrFactoryExplorer
value
- A context
value.IlrContextValue.exploreValue(IlrFactoryExplorer)
public Object exploreValue(IlrInstanceValue value)
instance
value and returns null
.
exploreValue
in interface IlrFactoryExplorer
value
- A rule instance
value.IlrInstanceValue.exploreValue(IlrFactoryExplorer)
public Object exploreValue(IlrScopeValue value)
scope
value and returns null
.
exploreValue
in interface IlrFactoryExplorer
value
- A scope
value.IlrScopeValue.exploreValue(IlrFactoryExplorer)
public Object exploreValue(IlrObjectValue value)
null
.
exploreValue
in interface IlrFactoryExplorer
value
- An object
value.IlrObjectValue.exploreValue(IlrFactoryExplorer)
public Object exploreValue(IlrEventTimeValue value)
null
.
exploreValue
in interface IlrFactoryExplorer
value
- An event timestamp
value.IlrEventTimeValue.exploreValue(IlrFactoryExplorer)
public Object exploreValue(IlrUnaryValue value)
null
.
exploreValue
in interface IlrFactoryExplorer
value
- A unary expression.IlrUnaryValue.exploreValue(IlrFactoryExplorer)
public Object exploreValue(IlrCollectInSourceValue value)
collect
value invocation and
returns null
.
exploreValue
in interface IlrFactoryExplorer
IlrCollectInSourceValue.exploreValue(IlrFactoryExplorer)
public Object exploreValue(IlrPropertyAccessValue arg)
null
.
exploreValue
in interface IlrFactoryExplorer
IlrPropertyAccessValue.exploreValue(IlrFactoryExplorer)
public Object exploreValue(IlrBinaryValue value)
null
.
exploreValue
in interface IlrFactoryExplorer
value
- A binary arithmetic expression.IlrBinaryValue.exploreValue(IlrFactoryExplorer)
public Object exploreValue(IlrArrayElement value)
exploreValue
in interface IlrFactoryExplorer
value
- An array element
value.IlrArrayElement.exploreValue(IlrFactoryExplorer)
public Object exploreValue(IlrArrayLength value)
exploreValue
in interface IlrFactoryExplorer
value
- An array length
value.IlrArrayLength.exploreValue(IlrFactoryExplorer)
public Object exploreValue(IlrStaticFieldValue value)
exploreValue
in interface IlrFactoryExplorer
value
- A static field
value.IlrStaticFieldValue.exploreValue(IlrFactoryExplorer)
public Object exploreValue(IlrFieldValue value)
exploreValue
in interface IlrFactoryExplorer
value
- A field
value.IlrFieldValue.exploreValue(IlrFactoryExplorer)
public Object exploreValue(IlrTestValue value)
exploreValue
in interface IlrFactoryExplorer
value
- The value that encapsulates a test.IlrTestValue.exploreValue(IlrFactoryExplorer)
public Object exploreValue(IlrStaticMethodInvocation value)
exploreValue
in interface IlrFactoryExplorer
value
- A static method invocation value.IlrStaticMethodInvocation.exploreValue(IlrFactoryExplorer)
public Object exploreValue(IlrFunctionInvocation value)
exploreValue
in interface IlrFactoryExplorer
value
- A function invocation value.IlrFunctionInvocation.exploreValue(IlrFactoryExplorer)
public Object exploreValue(IlrMethodInvocation value)
exploreValue
in interface IlrFactoryExplorer
value
- A method invocation
value.IlrMethodInvocation.exploreValue(IlrFactoryExplorer)
public Object exploreValue(IlrNewInstanceValue value)
exploreValue
in interface IlrFactoryExplorer
value
- An object creation
value.IlrNewInstanceValue.exploreValue(IlrFactoryExplorer)
public Object exploreValue(IlrNewArrayInstanceValue value)
exploreValue
in interface IlrFactoryExplorer
value
- An array object creation
value.IlrNewArrayInstanceValue.exploreValue(IlrFactoryExplorer)
public Object exploreValue(IlrIntervalValue value)
IlrFactoryExplorer
exploreValue
in interface IlrFactoryExplorer
value
- A value modeling an interval.IlrIntervalValue.exploreValue(IlrFactoryExplorer)
public Object exploreTest(IlrUnaryTest test)
true
.
exploreTest
in interface IlrFactoryExplorer
test
- A unary test.IlrUnaryTest.exploreTest(IlrFactoryExplorer)
public Object exploreTest(IlrBinaryTest test)
exploreTest
in interface IlrFactoryExplorer
test
- A binary test.IlrBinaryTest.exploreTest(IlrFactoryExplorer)
public Object exploreTest(IlrOccursinTest test)
occursin
test and returns an object as
the result.
exploreTest
in interface IlrFactoryExplorer
test
- An occursin
test.IlrOccursinTest.exploreTest(IlrFactoryExplorer)
public Object exploreTest(IlrBeforeTest test)
before
test and returns an object as
the result.
exploreTest
in interface IlrFactoryExplorer
test
- A before
test.IlrBeforeTest.exploreTest(IlrFactoryExplorer)
public Object exploreTest(IlrAfterTest test)
after
test and returns an object as
the result.
exploreTest
in interface IlrFactoryExplorer
test
- An after
test.IlrAfterTest.exploreTest(IlrFactoryExplorer)
public Object exploreTest(IlrInstanceOfTest test)
instanceOf
test.
The first argument is checked to see if it is an instance of the
second argument.
exploreTest
in interface IlrFactoryExplorer
test
- An instanceOf
test.IlrInstanceOfTest.exploreTest(IlrFactoryExplorer)
public Object exploreTest(IlrUnknownTest test)
exploreTest
in interface IlrFactoryExplorer
test
- An unknown test.IlrUnknownTest.exploreTest(IlrFactoryExplorer)
public Object exploreTest(IlrNotTest test)
NOT
test and returns an object as
the result.
exploreTest
in interface IlrFactoryExplorer
test
- A NOT
test.IlrNotTest.exploreTest(IlrFactoryExplorer)
public Object exploreTest(IlrNaryTest test)
exploreTest
in interface IlrFactoryExplorer
test
- An N-ary test.IlrNaryTest.exploreTest(IlrFactoryExplorer)
public Object exploreAssignable(IlrVariable assignable)
exploreAssignable
in interface IlrFactoryExplorer
assignable
- A variable as an assignable.IlrVariable.exploreAssignable(IlrFactoryExplorer)
public Object exploreAssignable(IlrArrayElement assignable)
exploreAssignable
in interface IlrFactoryExplorer
assignable
- An array element as an assignable.IlrArrayElement.exploreAssignable(IlrFactoryExplorer)
public Object exploreAssignable(IlrStaticFieldValue assignable)
exploreAssignable
in interface IlrFactoryExplorer
assignable
- A static field value as an assignable.IlrStaticFieldValue.exploreAssignable(IlrFactoryExplorer)
public Object exploreAssignable(IlrFieldValue assignable)
exploreAssignable
in interface IlrFactoryExplorer
assignable
- A field value as an assignable.IlrFieldValue.exploreAssignable(IlrFactoryExplorer)
public Object exploreStatement(IlrBindStatement action)
bind
action and returns an
object as the result.
exploreStatement
in interface IlrFactoryExplorer
action
- A bind
actionIlrBindStatement.exploreStatement(IlrFactoryExplorer)
public Object exploreStatement(IlrAssignment assign)
exploreStatement
in interface IlrFactoryExplorer
assign
- An assignment statement.IlrAssignment.exploreStatement(IlrFactoryExplorer)
public Object exploreStatement(IlrStaticMethodInvocation statement)
exploreStatement
in interface IlrFactoryExplorer
statement
- A static method invocation.IlrStaticMethodInvocation.exploreStatement(IlrFactoryExplorer)
public Object exploreStatement(IlrFunctionInvocation statement)
exploreStatement
in interface IlrFactoryExplorer
statement
- A function invocation.IlrFunctionInvocation.exploreStatement(IlrFactoryExplorer)
public Object exploreStatement(IlrReturnStatement statement)
return
as a statement.
exploreStatement
in interface IlrFactoryExplorer
statement
- A return
statementIlrReturnStatement.exploreStatement(IlrFactoryExplorer)
public Object exploreStatement(IlrThrowStatement statement)
throw
as a statement.
exploreStatement
in interface IlrFactoryExplorer
statement
- A throw
statement.IlrThrowStatement.exploreStatement(IlrFactoryExplorer)
public Object exploreStatement(IlrBreakStatement statement)
break
as a statement.
exploreStatement
in interface IlrFactoryExplorer
statement
- A break
statement.IlrBreakStatement.exploreStatement(IlrFactoryExplorer)
public Object exploreStatement(IlrContinueStatement statement)
continue
as a statement.
exploreStatement
in interface IlrFactoryExplorer
statement
- A continue
statement.IlrContinueStatement.exploreStatement(IlrFactoryExplorer)
public Object exploreStatement(IlrUnaryValue statement)
exploreStatement
in interface IlrFactoryExplorer
statement
- A unary value invocation.IlrUnaryValue.exploreStatement(IlrFactoryExplorer)
public Object exploreStatement(IlrForeachStatement statement)
foreach
instruction and
returns an object as the result.
exploreStatement
in interface IlrFactoryExplorer
statement
- A foreach
instruction.IlrForeachStatement.exploreStatement(IlrFactoryExplorer)
public Object exploreStatement(IlrForStatement statement)
for
instruction and
returns an object as the result.
exploreStatement
in interface IlrFactoryExplorer
statement
- A for
instruction.IlrForStatement.exploreStatement(IlrFactoryExplorer)
public Object exploreStatement(IlrMethodInvocation statement)
exploreStatement
in interface IlrFactoryExplorer
statement
- A method invocation statement.IlrMethodInvocation.exploreStatement(IlrFactoryExplorer)
public Object exploreStatement(IlrExecuteStatement action)
execute
statement block and
returns null
exploreStatement
in interface IlrFactoryExplorer
action
- The statement.IlrExecuteStatement.exploreStatement(IlrFactoryExplorer)
public Object exploreStatement(IlrIfStatement action)
if
statement block and returns null
.
exploreStatement
in interface IlrFactoryExplorer
action
- An if
action.IlrIfStatement.exploreStatement(IlrFactoryExplorer)
public Object exploreStatement(IlrTryCatchFinallyStatement action)
try-catch-finally
statement block and returns
null
.
exploreStatement
in interface IlrFactoryExplorer
action
- A try-catch-finally
action.IlrTryCatchFinallyStatement.exploreStatement(IlrFactoryExplorer)
public Object exploreStatement(IlrWhileStatement action)
while
statement block and returns
null
.
exploreStatement
in interface IlrFactoryExplorer
action
- A while
action.IlrWhileStatement.exploreStatement(IlrFactoryExplorer)
public Object exploreStatement(IlrTimeOutBlock action)
timeout
statement block and returns
null
exploreStatement
in interface IlrFactoryExplorer
action
- A timeout
action.IlrTimeOutBlock.exploreStatement(IlrFactoryExplorer)
public Object exploreStatement(IlrAssertAction action)
assert
action and returns an
object as the result.
exploreStatement
in interface IlrFactoryExplorer
action
- An assert
action.IlrAssertAction.exploreStatement(IlrFactoryExplorer)
public Object exploreStatement(IlrRetractAction action)
retract
action and returns an
object as the result.
exploreStatement
in interface IlrFactoryExplorer
action
- A retract
action.IlrRetractAction.exploreStatement(IlrFactoryExplorer)
public Object exploreStatement(IlrApplyAction action)
apply
action and returns an
object as the result.
exploreStatement
in interface IlrFactoryExplorer
action
- The action.IlrApplyAction.exploreStatement(IlrFactoryExplorer)
public Object exploreStatement(IlrModifyAction action)
modify
action and returns an
object as the result.
exploreStatement
in interface IlrFactoryExplorer
action
- A modify
action.IlrModifyAction.exploreStatement(IlrFactoryExplorer)
public Object exploreStatement(IlrUpdateAction action)
update
action and returns an
object as the result.
exploreStatement
in interface IlrFactoryExplorer
action
- An update
action.IlrUpdateAction.exploreStatement(IlrFactoryExplorer)
public void print(IlrTaskFactory task)
task
- The task to print.public Object exploreStatement(IlrTaskInstanceStatement node)
exploreStatement
in interface IlrFactoryExplorer
node
- The task invocation node to print.ilog.rules.factory.IlrTaskInstanceStatement.exploreStatement(ilog.rules.factory.IlrFactoryExplorer)
public Object exploreStatement(IlrTaskIfNodeStatement node)
if
ruleflow node and returns an object
as the result.
exploreStatement
in interface IlrFactoryExplorer
node
- The if
ruleflow node to print.ilog.rules.factory.IlrTaskIfNodeStatement.exploreStatement(ilog.rules.factory.IlrFactoryExplorer)
public Object exploreStatement(IlrTaskSwitchNodeStatement node)
switch
ruleflow node and returns an object
as the result.
exploreStatement
in interface IlrFactoryExplorer
node
- The switch
ruleflow node to print.ilog.rules.factory.IlrTaskSwitchNodeStatement.exploreStatement(ilog.rules.factory.IlrFactoryExplorer)
public Object exploreStatement(IlrTaskForkNodeStatement node)
fork
ruleflow node and returns an object
as the result.
exploreStatement
in interface IlrFactoryExplorer
node
- The fork
ruleflow node to print.ilog.rules.factory.IlrTaskForkNodeStatement.exploreStatement(ilog.rules.factory.IlrFactoryExplorer)
public Object exploreStatement(IlrTaskGotoNodeStatement node)
goto
ruleflow node and returns an object
as the result.
exploreStatement
in interface IlrFactoryExplorer
node
- The goto
ruleflow node to print.ilog.rules.factory.IlrTaskGotoNodeStatement.exploreStatement(ilog.rules.factory.IlrFactoryExplorer)
public Object exploreStatement(IlrTaskWhileNodeStatement node)
while
ruleflow node and returns an object
as the result.
exploreStatement
in interface IlrFactoryExplorer
node
- The while
ruleflow node to print.ilog.rules.factory.IlrTaskWhileNodeStatement.exploreStatement(ilog.rules.factory.IlrFactoryExplorer)
|
Rule Execution Server API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |