|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
de.unihalle.informatik.Alida.operator.events.ALDEvent
de.unihalle.informatik.Alida.workflows.events.ALDWorkflowEvent
public class ALDWorkflowEvent
Event type related to Alida work flows.
Nested Class Summary | |
---|---|
static class |
ALDWorkflowEvent.ALDWorkflowEventType
Types of events. |
Field Summary | |
---|---|
protected ALDWorkflowEvent.ALDWorkflowEventType |
eType
Type of the event. |
protected java.lang.Object |
info
ID of work flow object |
private static java.lang.Integer |
nextTimeStamp
Count for (almost) unique time stamps (we allow wrap around). |
private java.lang.Integer |
timeStamp
This is not a real time stamp rather an integer incremented each time a new event is instantiate with the only exception of using new ALDWorkflowEvent( event) |
Fields inherited from class de.unihalle.informatik.Alida.operator.events.ALDEvent |
---|
eventMessage |
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
ALDWorkflowEvent(ALDWorkflowEvent event)
Constructor. |
|
ALDWorkflowEvent(java.lang.Object s,
ALDWorkflowEvent.ALDWorkflowEventType e)
Constructor. |
|
ALDWorkflowEvent(java.lang.Object s,
ALDWorkflowEvent.ALDWorkflowEventType e,
java.lang.Object info)
Constructor. |
|
ALDWorkflowEvent(java.lang.Object s,
ALDWorkflowEvent.ALDWorkflowEventType e,
java.lang.String msg,
java.lang.Object info)
Constructor. |
Method Summary | |
---|---|
ALDWorkflowEvent |
createCopy()
Create a clone of this event with the same time stamp |
ALDWorkflowEvent.ALDWorkflowEventType |
getEventType()
Returns type of event. |
java.lang.Object |
getId()
Returns the index of the even |
java.lang.Integer |
getTimeStamp()
Returns the timestamp of this event. |
Methods inherited from class de.unihalle.informatik.Alida.operator.events.ALDEvent |
---|
getEventMessage, getEventMessage |
Methods inherited from class java.util.EventObject |
---|
getSource, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected ALDWorkflowEvent.ALDWorkflowEventType eType
protected java.lang.Object info
private static java.lang.Integer nextTimeStamp
private final java.lang.Integer timeStamp
new ALDWorkflowEvent( event)
Constructor Detail |
---|
public ALDWorkflowEvent(ALDWorkflowEvent event)
event
- public ALDWorkflowEvent(java.lang.Object s, ALDWorkflowEvent.ALDWorkflowEventType e)
s
- Source object of the event.e
- Event type.public ALDWorkflowEvent(java.lang.Object s, ALDWorkflowEvent.ALDWorkflowEventType e, java.lang.Object info)
aldWorkflow
- Source object of the event.e
- Event type.info
- Information associated with this event.public ALDWorkflowEvent(java.lang.Object s, ALDWorkflowEvent.ALDWorkflowEventType e, java.lang.String msg, java.lang.Object info)
s
- Source object of the event.e
- Event type.msg
- Message for the event.info
- Id of work flow object associated with this event.Method Detail |
---|
public ALDWorkflowEvent createCopy()
public ALDWorkflowEvent.ALDWorkflowEventType getEventType()
public java.lang.Object getId()
public java.lang.Integer getTimeStamp()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |