Interface BaseEventIfc
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
NodeStatusUpdateEventIfc
,TestStatusChangeEventIfc
- All Known Implementing Classes:
NodeOutputFileAvailableEvent
,NodeStartedEvent
,NodeStoppedEvent
,NodeUpdateEvent
,TestCompleteEvent
,TestErroredEvent
,TestStaleEvent
,TestTimedOutEvent
,TestTimeoutReminderEvent
The BaseEventIfc interface represents the base contract for any events that are part of the TNC workflow.
Events implementing this interface are designed to be serializable for RMI communication.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enum
Enumeration of possible event types. -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the hash value of the event.Retrieves the unique identifier of the event.Retrieves the timestamp of when the event occurred.Retrieves the type of the event.Retrieves the test ID the event is associated to
-
Method Details
-
getEventHash
String getEventHash()Retrieves the hash value of the event. If two events have the same hash, and if the event broadcaster uses a queue, the old event in the queue would be replaced with the new one.- Returns:
- The hash value of the event.
-
getEventType
BaseEventIfc.EventType getEventType()Retrieves the type of the event.- Returns:
- The EventType of the event.
-
getTestID
String getTestID()Retrieves the test ID the event is associated to- Returns:
- The test ID the event is associated to
-
getEventID
String getEventID()Retrieves the unique identifier of the event.- Returns:
- The unique identifier of the event.
-
getEventTime
String getEventTime()Retrieves the timestamp of when the event occurred.- Returns:
- The timestamp of when the event occurred.
-