public class ALDOperatorCollectionEvent extends ALDEvent
ALDOperatorCollection
.Modifier and Type | Class and Description |
---|---|
static class |
ALDOperatorCollectionEvent.ALDOperatorCollectionEventType
Types of events.
|
Modifier and Type | Field and Description |
---|---|
protected ALDOperatorCollectionEvent.ALDOperatorCollectionEventType |
eType
Type of the event.
|
protected ALDOperatorCollectionEventInfo |
info
Info object.
|
private static int |
nextTimeStamp
Count for (almost) unique time stamps (we allow wrap around).
|
private int |
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 |
eventMessage
source
Constructor and Description |
---|
ALDOperatorCollectionEvent(ALDOperatorCollectionEvent event)
Copy constructor.
|
ALDOperatorCollectionEvent(Object s,
ALDOperatorCollectionEvent.ALDOperatorCollectionEventType e)
Constructor.
|
ALDOperatorCollectionEvent(Object s,
ALDOperatorCollectionEvent.ALDOperatorCollectionEventType e,
ALDOperatorCollectionEventInfo i)
Constructor.
|
ALDOperatorCollectionEvent(Object s,
ALDOperatorCollectionEvent.ALDOperatorCollectionEventType e,
String msg,
ALDOperatorCollectionEventInfo i)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
ALDOperatorCollectionEvent |
createCopy()
Create a clone of this event with the same time stamp
|
ALDOperatorCollectionEvent.ALDOperatorCollectionEventType |
getEventType()
Returns type of event.
|
ALDOperatorCollectionEventInfo |
getInfo()
Get the info object of this operator collection event.
|
int |
getTimeStamp()
Returns the timestamp of this event.
|
getEventMessage, getEventMessage
getSource, toString
protected ALDOperatorCollectionEvent.ALDOperatorCollectionEventType eType
protected ALDOperatorCollectionEventInfo info
private final int timeStamp
new ALDOperatorCollectionElement
( event)
private static int nextTimeStamp
public ALDOperatorCollectionEvent(Object s, ALDOperatorCollectionEvent.ALDOperatorCollectionEventType e)
s
- Source object of the event.e
- Event type.public ALDOperatorCollectionEvent(Object s, ALDOperatorCollectionEvent.ALDOperatorCollectionEventType e, ALDOperatorCollectionEventInfo i)
s
- Source object of the event.e
- Event type.i
- Information associated with this event.public ALDOperatorCollectionEvent(Object s, ALDOperatorCollectionEvent.ALDOperatorCollectionEventType e, String msg, ALDOperatorCollectionEventInfo i)
s
- Source object of the event.e
- Event type.msg
- Message for the event.i
- Information associated with this event.public ALDOperatorCollectionEvent(ALDOperatorCollectionEvent event)
event
- Event to clone.public ALDOperatorCollectionEvent.ALDOperatorCollectionEventType getEventType()
public ALDOperatorCollectionEventInfo getInfo()
The info object may contain additional information about the event, e.g., in case of failures it informs about which exceptions were thrown that caused the workflow to fail.
public int getTimeStamp()
public ALDOperatorCollectionEvent createCopy()
Copyright © 2010–2021 Martin Luther University Halle-Wittenberg, Institute of Computer Science, Pattern Recognition and Bioinformatics. All rights reserved.