public final class ObservableEvent
extends java.lang.Object
Constructor | Description |
---|---|
ObservableEvent(java.lang.String type,
java.util.Date begin,
java.util.Date end,
Value data) |
Modifier and Type | Method | Description |
---|---|---|
java.util.Date |
getBegin() |
Timestamp taken at the time of an event creation.
|
Value |
getData() |
Generic container for an event's data.
|
java.util.Date |
getEnd() |
Timestamp taken at the time of an event completion.
|
java.lang.String |
getType() |
Type of an event.
|
java.lang.String |
toString() |
public ObservableEvent(@NonNull java.lang.String type, @NonNull java.util.Date begin, @NonNull java.util.Date end, @NonNull Value data)
@NonNull public java.lang.String getType()
@NonNull public java.util.Date getBegin()
@NonNull public java.util.Date getEnd()
@NonNull public Value getData()
public java.lang.String toString()
toString
in class java.lang.Object