public abstract class IlrTaskFactory
extends java.lang.Object
implements java.io.Serializable, ilog.rules.factory.IlrTaskElement
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.
| Modifier and Type | Method and Description |
|---|---|
java.util.ArrayList |
getAllStatements()
Provides all statements referenced by the task definition.
|
java.util.ArrayList |
getAllValues()
Provides all values referenced by the task definition.
|
IlrValue |
getCompletionFlagValue()
Deprecated.
As of IBM Decision Server 8.0.1, the completion flag is deprecated
|
IlrFunctionFactory |
getFinalActions()
Returns the function that implements the task final actions.
|
java.lang.String |
getFormalComment()
Returns the formal comment of the task.
|
IlrFunctionFactory |
getInitialActions()
Returns the function that implements the task initial actions.
|
java.lang.String |
getName()
Gets the fully qualified name of the task.
|
IlrPackageFactory |
getPackage()
Returns the package in which the task is defined.
|
IlrPropertyList |
getProperties()
Returns the task properties.
|
java.lang.String |
getShortName()
Gets the short name of the rule.
|
abstract boolean |
hasEmptyBody()
Indicates whether the task has an empty body or not.
|
void |
setCompletionFlagValue(IlrValue value)
Deprecated.
As of IBM Decision Server 8.0.1, the completion flag is deprecated
|
void |
setFinalActions(IlrFunctionFactory function)
Sets the task final actions.
|
void |
setFormalComment(java.lang.String comment)
Sets the formal comment of the task.
|
void |
setInitialActions(IlrFunctionFactory function)
Sets the task initial actions.
|
void |
setProperties(IlrPropertyList properties)
Sets the task properties.
|
public java.lang.String getName()
public java.lang.String getShortName()
public java.lang.String getFormalComment()
public void setFormalComment(java.lang.String comment)
comment - The comment of the task.public void setProperties(IlrPropertyList properties)
properties - The task properties.public void setInitialActions(IlrFunctionFactory function)
void and without arguments.
If any of these conditions is not verified, an
IllegalArgumentException is thrown.function - The function that implements the task initial actions.public IlrFunctionFactory getInitialActions()
public void setFinalActions(IlrFunctionFactory function)
void and without arguments.
If any of these conditions is not verified, an
IllegalArgumentException is thrown.function - The function that implements the task final actions.public IlrFunctionFactory getFinalActions()
public IlrPropertyList getProperties()
public void setCompletionFlagValue(IlrValue value)
true, the task is considered terminated and
its final actions will be executed. If the value is
false, the task is considered suspended, its final actions
are not executed, and the ruleflow execution stops, keeping the task
as the current task.
If the passed value is not of boolean type, an
IllegalArgumentException is thrown.
The completion flag value is not mandatory. If no such value is defined,
the task is terminated after execution of the task body.value - The Boolean value for the task completion flag.public IlrValue getCompletionFlagValue()
public abstract boolean hasEmptyBody()
true if the task body is empty, or
false otherwise.public IlrPackageFactory getPackage()
public java.util.ArrayList getAllValues()
public java.util.ArrayList getAllStatements()
© Copyright IBM Corp. 1987, 2017