@Deprecated public class IlrTimeCondition extends IlrCondition
wait condition of
the rule language. A wait condition is also referred to
as a watchdog.
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.
| Constructor and Description |
|---|
IlrTimeCondition(IlrReflect reflect,
boolean logicalFlag)
Deprecated.
Constructs a
wait condition. |
| Modifier and Type | Method and Description |
|---|---|
void |
addCondition(IlrClassCondition cond)
Deprecated.
Adds a condition at the end of the condition block of this time
condition.
|
IlrVariable |
bindObject(java.lang.String name)
Deprecated.
Binds the current condition to a variable and returns the value
of the bound object.
|
java.util.Enumeration |
enumerateConditions()
Deprecated.
Gets an enumeration to visit the conditions in the block of the
time condition.
|
java.lang.Object |
exploreCondition(IlrFactoryExplorer explorer)
Deprecated.
Explores this condition using a factory explorer and returns
an object as a result.
|
int |
getConditionCount()
Deprecated.
Gets the number of conditions in the block of this time
condition.
|
IlrClassCondition[] |
getConditions()
Deprecated.
Gets the conditions in the block of this time condition.
|
IlrVariable |
getObjectBinding()
Deprecated.
Gets the object binding.
|
IlrValue |
getTime()
Deprecated.
Gets the value for time expression.
|
boolean |
isLogical()
Deprecated.
Tests if the watchdog is logical.
|
boolean |
isTimeAbsolute()
Deprecated.
Checks whether the time expression refers to an absolute time.
|
boolean |
isTimeSet()
Deprecated.
Checks whether a time expression has been set for this watchdog.
|
void |
removeCondition(IlrClassCondition cond)
Deprecated.
Removes a condition from the condition block of this time condition.
|
void |
setTime(boolean until,
IlrValue time)
Deprecated.
Sets the value for the time expression, and specifies if the time
is relative or absolute.
|
void |
setTime(IlrValue time)
Deprecated.
Sets the value for the time expression.
|
getClassName, getObject, getShortClassName, getXOMClassScope, isEventConditionpublic IlrTimeCondition(IlrReflect reflect, boolean logicalFlag)
wait condition.reflect - A reflect.logicalFlag - Specifies if the watchdog is logical.
true means that the watchdog is logical.public boolean isLogical()
true if the watchdog is logical, and
false if the watchdog is not logical.public IlrValue getTime()
null
if the watchdog has no time expression set.public void setTime(IlrValue time)
until clause.time - The time expression of the watchdog.public void setTime(boolean until,
IlrValue time)
until - Is true if the time is absolute (using
until keyword), and false if the time
is relative.time - The time expression of the watchdog.public boolean isTimeSet()
true if the time expression of the watchdog
has been set.public boolean isTimeAbsolute()
until keyword is used.true if the time is absolute.public IlrVariable bindObject(java.lang.String name)
name - The name of the variable.public IlrVariable getObjectBinding()
public void addCondition(IlrClassCondition cond)
cond - The condition to be added.public void removeCondition(IlrClassCondition cond)
cond - The condition to be removed.public int getConditionCount()
public IlrClassCondition[] getConditions()
public java.util.Enumeration enumerateConditions()
public java.lang.Object exploreCondition(IlrFactoryExplorer explorer)
exploreCondition in class IlrConditionexplorer - The factory explorer.null if the method does not return a value.© Copyright IBM Corp. 1987, 2017