|
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.IlrTask
public abstract class IlrTask
This abstract class represents the super class of a task definition of the
IRL language. Tasks are created using the parsing methods of
IlrRuleset
and are then exhibited by the ruleset.
It provides the name, properties and the comments defined on the task.
Method Summary | |
---|---|
String |
getFormalComment()
Returns the formal comment associated with the task as a string. |
String |
getName()
Returns the fully qualified name of the task. |
IlrPackage |
getPackage()
Returns the package in which the task is defined. |
IlrPropertyList |
getProperties()
Gets the properties of this task. |
Object |
getProperty(String key)
Returns the property value corresponding to the passed key. |
String |
getShortName()
Returns the short name of the task. |
IlrTaskFactory |
makeFactory()
Builds a factory object to represent this task. |
abstract IlrTaskFactory |
makeFactory(IlrPackageFactory pkgF)
Builds a factory object to represent this task. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public String getName()
Returns the fully qualified name of the task.
public String getShortName()
Returns the short name of the task.
public final String getFormalComment()
Returns the formal comment associated with the task as a string.
If the task does not have a formal comment null
is
returned.
public Object getProperty(String key)
Returns the property value corresponding to the passed key. If the
property has not been defined on the task, it returns null
.
key
- The property name.
public final IlrPropertyList getProperties()
Gets the properties of this task.
public final IlrTaskFactory makeFactory()
Builds a factory object to represent this task.
public abstract IlrTaskFactory makeFactory(IlrPackageFactory pkgF)
Builds a factory object to represent this task.
*
pkgF
- The package containing the task.
public IlrPackage getPackage()
|
Rule Execution Server API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |