@Deprecated public final class IlrAfterTest extends IlrBinaryTemporalTest
after construct of the rule language.
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 |
|---|
IlrAfterTest(IlrValue leftEvent,
IlrValue rightEvent)
Deprecated.
Constructs an
after test, testing whether an event occurs
before another. |
IlrAfterTest(IlrValue leftEvent,
IlrValue rightEvent,
IlrValue lowerBound,
IlrValue upperBound)
Deprecated.
Constructs an
after test, testing whether an event occurs
before another in a given time window. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
exploreTest(IlrFactoryExplorer explorer)
Deprecated.
Explores this
after test using a factory explorer and returns
an object as a result. |
IlrValue |
getLeftEvent()
Deprecated.
Returns the event on the left-hand side of the operator, that is, the
first event in a
before test, or the second event in an
after test. |
IlrValue |
getRightEvent()
Deprecated.
Returns the event on the right-hand side of the operator, that is, the
second event in a
before test, or the first event in an
after test. |
void |
setLeftEvent(IlrValue leftEvent)
Deprecated.
Sets the event on the left-hand side of the operator, that is, the
first event in a
before test, or the second event in an
after test. |
void |
setRightEvent(IlrValue rightEvent)
Deprecated.
Sets the event on the right-hand side of the operator, that is, the
second event in a
before test, or the first event in an
after test. |
getFirstEvent, getLowerBound, getSecondEvent, getUpperBound, setFirstEvent, setLowerBound, setSecondEvent, setUpperBoundpublic IlrAfterTest(IlrValue leftEvent, IlrValue rightEvent, IlrValue lowerBound, IlrValue upperBound)
after test, testing whether an event occurs
before another in a given time window. The constructed test corresponds
to the following construct of the rule language:
left-event after[lower-bound, upper-bound]
right-eventget...Event methods will return null.
If either bound evaluates to
null, this means that there is no minimal or maximal
limit to the occurrence time difference.leftEvent - The event on the left-hand side of the
after operator.rightEvent - The event on the right-hand side of the
after operator.lowerBound - The minimal delay between the event occurrence times,
inclusive, or an IlrValue evaluating to null
for minus infinity.upperBound - The maximal delay between the event occurrence times,
inclusive, or an IlrValue evaluating to null
for plus infinity.IlrValue.isEvent(),
IlrValue.testAfter(ilog.rules.factory.IlrValue, ilog.rules.factory.IlrValue, ilog.rules.factory.IlrValue)public IlrAfterTest(IlrValue leftEvent, IlrValue rightEvent)
after test, testing whether an event occurs
before another. The constructed test corresponds
to the following construct of the rule language:
left-event after right-eventnull. The objects given as the left- and
right-hand side events must be events; otherwise, the corresponding
get...Event methods will return null.leftEvent - The event on the left-hand side of the
after operator.rightEvent - The event on the right-hand side of the
after operator.IlrValue.isEvent(),
IlrValue.testAfter(ilog.rules.factory.IlrValue, ilog.rules.factory.IlrValue, ilog.rules.factory.IlrValue)public final IlrValue getLeftEvent()
IlrBinaryTemporalTestbefore test, or the second event in an
after test.
Returns null if the test was constructed with an object
which is not an event.getLeftEvent in class IlrBinaryTemporalTestpublic final void setLeftEvent(IlrValue leftEvent)
IlrBinaryTemporalTestbefore test, or the second event in an
after test.
The given object must be an event, otherwise the reader methods will
return null.setLeftEvent in class IlrBinaryTemporalTestleftEvent - The event on the left-hand side of the test.public final IlrValue getRightEvent()
IlrBinaryTemporalTestbefore test, or the first event in an
after test.
Returns null if the test was constructed with an object
which is not an event.getRightEvent in class IlrBinaryTemporalTestpublic final void setRightEvent(IlrValue rightEvent)
IlrBinaryTemporalTestbefore test, or the first event in an
after test.
The given object must be an event, otherwise the reader methods will
return null.setRightEvent in class IlrBinaryTemporalTestrightEvent - The event on the right-hand side of the operator.public java.lang.Object exploreTest(IlrFactoryExplorer explorer)
after test using a factory explorer and returns
an object as a result.explorer - The factory explorer.null if the method does not return a value.© Copyright IBM Corp. 1987, 2017