|
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.factory.IlrTaskFactory ilog.rules.factory.IlrFlowTaskFactory
public class IlrFlowTaskFactory
This class represents the class of a flow-based task definition of the IRL language. It provides the specific body as flow described in extended IRL code.
Warning: Serialized objects of this class will not be compatible with future releases. The current serialization support is appropriate for short-term storage or RMI between applications running the same version of IBM Decision Server.
IlrRuleTaskFactory
,
IlrFunctionTaskFactory
,
IlrFlowTaskFactory
,
Serialized Form
Constructor Summary | |
---|---|
IlrFlowTaskFactory(IlrReflect reflect,
IlrPackageFactory pkg,
String name)
Builds a flow-based task by specifying a reflect, a package and a name. |
|
IlrFlowTaskFactory(IlrReflect reflect,
String name)
Deprecated. Use instead IlrFlowTaskFactory(IlrReflect reflect, IlrPackageFactory pkg,
String name) . |
Method Summary | |
---|---|
void |
compile()
Makes checks to insure that the graph is correctly built. |
ArrayList |
getAllStatements()
Provides all statements referenced by the task definition. |
boolean |
hasEmptyBody()
Indicates whether the task has an empty body or not, that is, if the flow referred by the task is empty. |
void |
setRoot(IlrFlowNodeStatement root)
Sets the body of the flow-based task by setting the root node of the flow. |
Methods inherited from class ilog.rules.factory.IlrTaskFactory |
---|
getAllValues, getCompletionFlagValue, getFinalActions, getFormalComment, getInitialActions, getName, getPackage, getProperties, getShortName, setCompletionFlagValue, setFinalActions, setFormalComment, setInitialActions, setProperties |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IlrFlowTaskFactory(IlrReflect reflect, String name)
IlrFlowTaskFactory(IlrReflect reflect, IlrPackageFactory pkg,
String name)
.
Builds a flow-based task by specifying a reflect and a name. The task is considered to belong to the default package. The body is empty.
reflect
- The reflect object of this flow-based task factory.name
- The name of the flow-based task.public IlrFlowTaskFactory(IlrReflect reflect, IlrPackageFactory pkg, String name)
Builds a flow-based task by specifying a reflect, a package and a name.
The task belongs to the specified package. In case the package is
null
,
the task is considered to belong to the default package.
The body is empty.
reflect
- The reflect object of this flow-based task factory.pkg
- The package to which the task belongs.name
- The name of the flow-based task.Method Detail |
---|
public void setRoot(IlrFlowNodeStatement root)
root
- The root node of the flow-based task.public void compile()
Makes checks to insure that the graph is correctly built. This method has to be called once the flow is built in order to make the checks.
public boolean hasEmptyBody()
hasEmptyBody
in class IlrTaskFactory
true
if the task body is empty, or else it returns
false
.public ArrayList getAllStatements()
getAllStatements
in class IlrTaskFactory
|
Rule Execution Server API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |