public abstract class IlrTask
extends java.lang.Object
implements java.io.Serializable
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.
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getFormalComment()
Returns the formal comment associated with the task as a string.
|
java.lang.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.
|
java.lang.Object |
getProperty(java.lang.String key)
Returns the property value corresponding to the passed key.
|
java.lang.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.
|
public java.lang.String getName()
Returns the fully qualified name of the task.
public java.lang.String getShortName()
Returns the short name of the task.
public final java.lang.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 java.lang.Object getProperty(java.lang.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()
© Copyright IBM Corp. 1987, 2017