|
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.engine.IlrDefaultEvent
@Deprecated public class IlrDefaultEvent
This class provides a wrapping mechanism for objects asserted as an event but
whose class does not implement the IlrEvent
interface.
IlrContext.insertEvent(Object)
,
Serialized Form
Constructor Summary | |
---|---|
IlrDefaultEvent(Object object,
long timestamp)
Deprecated. Constructs an object implementing the IlrEvent interface, to
assert the given object as an event. |
Method Summary | |
---|---|
Object |
object()
Deprecated. Returns the object asserted as an event. |
long |
time()
Deprecated. Returns the timestamp of the event. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IlrDefaultEvent(Object object, long timestamp)
Constructs an object implementing the IlrEvent
interface, to
assert the given object as an event.
object
- The object to be asserted as an event.timestamp
- The date to use as the asserted event timestamp.Method Detail |
---|
public long time()
Returns the timestamp of the event.
time
in interface IlrEvent
public Object object()
Returns the object asserted as an event.
|
Rule Execution Server API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |