|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.isam.exehda.services.ctxm.ContextEvent
Event that describes a change in the state of a context element.
Constructor Summary | |
ContextEvent(ContextManager.ContextState prev,
ContextManager.ContextState curr,
long timeStamp)
Creates a new ContextEvent instance.
|
Method Summary | |
ContextManager.Context |
getContextType()
Returns the context element to which this context change event is related. |
ContextManager.ContextState |
getPreviousState()
Returns the previous state of the context element. |
ContextManager.ContextState |
getState()
Returns the current (new) state of the context element. |
long |
getTimeStamp()
The time-stamp describing the moment when this event was generated. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ContextEvent(ContextManager.ContextState prev, ContextManager.ContextState curr, long timeStamp)
ContextEvent
instance.
Either prev
or curr
may be null but not both.
prev
- the previous state of the context element.curr
- the current (new) state of the context element.timeStamp
- the time-stamp for the event in milliseconds since 1970.Method Detail |
public ContextManager.Context getContextType()
Context
valuepublic ContextManager.ContextState getPreviousState()
public ContextManager.ContextState getState()
public long getTimeStamp()
long
value
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |