|
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.IlrCondition ilog.rules.factory.IlrTimeCondition
@Deprecated public class IlrTimeCondition
This class is used to represent a 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 Summary | |
---|---|
IlrTimeCondition(IlrReflect reflect,
boolean logicalFlag)
Deprecated. Constructs a wait condition. |
Method Summary | |
---|---|
void |
addCondition(IlrClassCondition cond)
Deprecated. Adds a condition at the end of the condition block of this time condition. |
IlrVariable |
bindObject(String name)
Deprecated. Binds the current condition to a variable and returns the value of the bound object. |
Enumeration |
enumerateConditions()
Deprecated. Gets an enumeration to visit the conditions in the block of the time condition. |
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. |
Methods inherited from class ilog.rules.factory.IlrCondition |
---|
getClassName, getObject, getShortClassName, getXOMClassScope, isEventCondition |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IlrTimeCondition(IlrReflect reflect, boolean logicalFlag)
wait
condition.
reflect
- A reflect.logicalFlag
- Specifies if the watchdog is logical.
true
means that the watchdog is logical.Method Detail |
---|
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(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 Enumeration enumerateConditions()
public Object exploreCondition(IlrFactoryExplorer explorer)
exploreCondition
in class IlrCondition
explorer
- The factory explorer.
null
if the method does not return a value.
|
Rule Execution Server API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |